Skip to content
Tutorials Center
My learning

Topics

Ionic Framework Tutorial

Learn Ionic Framework step by step: 37 lessons in 9 chapters with examples, quizzes, diagrams and projects.

Start learning →

of lessons completed

Getting Started

  1. 1 What Is Ionic Framework? Learn what Ionic Framework is, how it builds iOS, Android and web apps from one codebase with web technologies, and when it is the right choice.
  2. 2 Your First Ionic App with the CLI Install the Ionic CLI, scaffold a starter app, run it with live reload in the browser, and understand the commands you will use every day.
  3. 3 Ionic Project Structure and Pages Tour an Ionic project: src folders, ionic.config.json, capacitor.config, theme files and how a page, header, toolbar and content fit together.
  4. 4 Choosing Angular, React or Vue for Ionic Compare Ionic with Angular, React and Vue side by side: the same page, component, state and event code in each, plus a clear way to choose.
  5. 5 Web Components and Shadow DOM in Ionic Understand why Ionic components are custom elements, how shadow DOM, slots, properties and events work, and how this affects styling and testing.

Components and Theming

  1. 6 Ionic Buttons, Cards and Icons Use ion-button, ion-card, ion-icon, ion-badge and ion-chip: fills, sizes, colors, expand, slots, icon packs and accessibility labels with examples.
  2. 7 Ionic Lists, Items and Sliding Actions Build lists with ion-list and ion-item, add avatars, labels, dividers, swipe actions and drag-to-reorder, and render long lists from data efficiently.
  3. 8 Ionic Modals, Alerts, Toasts and Popovers Learn every Ionic overlay: alert, action sheet, toast, loading, popover and modal. When to use each, how to open them, return data and dismiss them.
  4. 9 Ionic Theming with CSS Variables and Dark Mode Customize Ionic with CSS variables: the color palette and its five shades, global and per-component variables, dark mode, fonts and custom colors.
  5. 10 Ionic Platform Modes: iOS and Material Design How Ionic picks iOS or Material Design styling, how to force a mode, write per-platform CSS and code, and detect the platform with isPlatform.
  6. 11 Ionic Layout: Grid, Flexbox Utilities and Spacing Lay out Ionic screens with ion-grid, ion-row and ion-col, the 12-column system, breakpoints, padding and margin utilities, and flex and display helpers.

Navigation and Routing

  1. 12 Ionic Routing Basics and ion-router-outlet Learn how Ionic routing keeps a stack of pages, how ion-router-outlet differs from a plain router, and how to set routes, links and back navigation.
  2. 13 Ionic Tab Navigation with ion-tabs Build tab-based apps with ion-tabs and ion-tab-bar: nested routes, one stack per tab, badges, hiding the bar on detail pages and tab state preservation.
  3. 14 Ionic Side Menu and Navigation Patterns Add a slide-out menu with ion-menu, control it with menu-toggle and MenuController, combine it with a split pane, and pick the right navigation pattern.
  4. 15 Ionic Route Params, Guards and Page Lifecycle Pass data between Ionic pages with route and query params, protect routes with guards, and use ionViewWillEnter and friends because pages stay alive.

Forms and Data

  1. 16 Ionic Form Controls: Input, Select, Toggle and More Tour the Ionic form components: input, textarea, select, checkbox, radio, toggle, range and datetime, with labels, helper text, binding and events.
  2. 17 Ionic Form Validation: Reactive Forms and Error Messages Validate Ionic forms: required, pattern and custom rules, Angular reactive forms, React and Vue approaches, showing errors at the right time and server errors.
  3. 18 Fetching Data in Ionic: HTTP, Loading and Pull to Refresh Load remote data in Ionic apps with fetch, HttpClient or composables, handle loading, empty and error states, cancel requests, and add ion-refresher.
  4. 19 Ionic Searchbar, Filtering and Infinite Scroll Build search and paging in Ionic: ion-searchbar with debounce, local filtering, server search, ion-infinite-scroll with pages, and the end of the list.

Capacitor and Native APIs

  1. 20 Capacitor Overview and Project Setup Understand how Capacitor wraps your Ionic web app in a native shell, add Android and iOS platforms, configure capacitor.config.ts and sync web code to native projects.
  2. 21 Camera and Filesystem Take photos with the Capacitor Camera plugin, handle permissions and errors, save files with the Filesystem plugin and show them with convertFileSrc in Ionic apps.
  3. 22 Geolocation, Device Info and Network Status Read the user's position with the Capacitor Geolocation plugin, watch it over time, detect online and offline state, inspect the device and handle app lifecycle events.
  4. 23 Push Notifications, Local Notifications and Haptics Register for push notifications with Capacitor, handle tokens and taps, schedule local notifications and add haptic feedback to make Ionic apps feel native.

State and Storage

  1. 24 State Management in Ionic Apps Choose where state lives in an Ionic app: component state, shared services or stores, signals, NgRx or Zustand, and avoid stale data when pages stay alive in the stack.
  2. 25 Storage, Preferences and SQLite Choose the right storage for an Ionic app: Capacitor Preferences for small settings, SQLite for structured data, Filesystem for files and secure storage for secrets.
  3. 26 Offline First and Sync Design Ionic apps that work without a connection: local-first writes, an outbox queue with retries, idempotent requests, conflict resolution and a clear sync status.

Testing and Performance

  1. 27 Unit Testing Ionic Components and Services Unit test Ionic pages, services and Capacitor plugin calls with Jest, Vitest or Jasmine: arrange, act, assert, mock native plugins, fake timers and keep tests fast.
  2. 28 End-to-End Testing for Ionic Apps Test whole user flows in an Ionic app with Playwright or Cypress in the browser, use stable selectors and page objects, and know when Appium or device tests are needed.
  3. 29 Performance and Lazy Loading Make Ionic apps start fast and scroll smoothly: lazy load routes, virtualize long lists, size images, debounce input, avoid layout work and measure with real tools.

Building and Publishing

  1. 30 Building for Android and iOS Set up Android Studio and Xcode, run Ionic apps on emulators and real devices, use live reload, create debug and release builds, and understand signing and build variants.
  2. 31 App Icons, Splash Screens and Permissions Generate app icons and splash screens with Capacitor Assets, configure the splash screen plugin, declare Android and iOS permissions and write store-safe permission texts.
  3. 32 Publishing, PWA and Live Updates Ship an Ionic app to Google Play and the App Store, deploy it as a PWA, understand review rules, staged rollouts and what live updates may and may not change.

Projects and Practice

  1. 33 Project: Notes App with Offline Sync Build a notes app with Ionic and Capacitor: data model, store, local persistence, an outbox for sync, search and a clean page structure, with runnable core logic.
  2. 34 Project: Photo Journal with Camera and Location Build a photo journal in Ionic: capture photos, save files with a metadata index, tag entries with location, group by day and handle permissions and deletion safely.
  3. 35 Project: Trail Weather and Nearby Places Build an Ionic app that finds your location, fetches weather and nearby places, caches responses, handles loading and errors, and works with a saved last position.
  4. 36 Ionic Practice Exercises Practice native-app logic with eight exercises on permissions, storage, sync, lists, versions and testing; each has runnable starter code, checks and a worked solution.
  5. 37 Ionic and Capacitor Interview Questions Prepare for Ionic and Capacitor interviews: architecture, native plugins, navigation lifecycle, storage, offline sync, performance, testing and release questions with short answers.