iOS26 Theme for Ionic Framework
npm install @rdlabo/ionic-theme-ios26A CSS/JS theme library that applies iOS26 design system to Ionic applications.

DEMO is here: https://ionic-theme-ios26.netlify.app/
This library provides CSS/JS files that bring the iOS26 design system to Ionic applications. It updates the look and feel of Ionic components to match the latest iOS26 design guidelines.
I'm also working on the Android Design (Material Design 3) theme. Be sure to catch up!
šļørdlabo-team/ionic-theme-md3
Enjoying this library? Your support helps keep it alive and growing!
Sponsoring means you directly contribute to new features, improvements, and maintenance.
This is a CSS theme for extending your Ionic project. It does not work on its own, so use it together with the Ionic Framework.
``bash`
npm install @rdlabo/ionic-theme-ios26
And import the theme in your project's main CSS file (e.g., src/styles.scss).
`css
@import '@rdlabo/ionic-theme-ios26/dist/css/default-variables.css';
@import '@rdlabo/ionic-theme-ios26/dist/css/ionic-theme-ios26.css';
/**
* This file is to eliminate the impact of class name changes for iOS26.
* For example, ion-buttons ion-button[fill=default] is not normally implemented, but may be required for iOS26.@rdlabo/ionic-theme-md3
* This file is to eliminate such effects.
* Note: This is not include
*/
@import '@rdlabo/ionic-theme-ios26/dist/css/md-remove-ios-class-effect.css';
/**
* If you will use the design of ion-item-group with ion-list on Android as well, import it.
* More info: https://github.com/rdlabo-team/ionic-theme-ios26/blob/main/USING_ION_ITEM_GROUP.md
* Note: This is include @rdlabo/ionic-theme-md3
* @import '@rdlabo/ionic-theme-ios26/dist/css/md-ion-list-inset.css';
*/
/*
* Support Dark Mode
* We support Ionic Dark Mode. More information is here: https://ionicframework.com/docs/theming/dark-mode
* use Always: @import '@rdlabo/ionic-theme-ios26/dist/css/ionic-theme-ios26-dark-always.css'
* use System: @import '@rdlabo/ionic-theme-ios26/dist/css/ionic-theme-ios26-dark-system.css'
* use CSS Class: @import '@rdlabo/ionic-theme-ios26/dist/css/ionic-theme-ios26-dark-class.css'
*/
`
Next, configure the animations for iOS 26. Add the following to your Ionic configuration options.
`ts
import { isPlatform } from '@ionic/core'; // or @ionic/angular/standalone, @ionic/react, @ionic/vue
import { iosTransitionAnimation, popoverEnterAnimation, popoverLeaveAnimation } from '@rdlabo/ionic-theme-ios26';
// Angular
provideIonicAngular({
...
navAnimation: isPlatform('ios') ? iosTransitionAnimation: undefined,
popoverEnter: isPlatform('ios') ? popoverEnterAnimation: undefined,
popoverLeave: isPlatform('ios') ? popoverLeaveAnimation: undefined,
});
// React
setupIonicReact({
...
navAnimation: isPlatform('ios') ? iosTransitionAnimation: undefined,
popoverEnter: isPlatform('ios') ? popoverEnterAnimation: undefined,
popoverLeave: isPlatform('ios') ? popoverLeaveAnimation: undefined,
});
// Vue
createApp(App)
.use(IonicVue, {
...
navAnimation: isPlatform('ios') ? iosTransitionAnimation: undefined,
popoverEnter: isPlatform('ios') ? popoverEnterAnimation: undefined,
popoverLeave: isPlatform('ios') ? popoverLeaveAnimation: undefined,
})
`
Under specific conditions, you need to use ion-item-group.
`diff`
+
+
For details, please refer to USING_ION_ITEM_GROUP.md.
To customize the library's default styles to match your design, several CSS variables are provided. See this file for details:
https://github.com/rdlabo-team/ionic-theme-ios26/blob/main/src/styles/default-variables.scss
Add the .ios26-disabled class to disable the iOS26 theme on specific components.
`html
`
Import the SCSS files from the main package to use the liquid glass mixin.
`scss
@use '@rdlabo/ionic-theme-ios26/src/styles/utils/api.scss';
ion-textarea label.textarea-wrapper {
@include api.glass-background;
}
`
To achieve higher fidelity to iOS26 design, you can implement additional design provided by this library. For more details, please visit:
https://ionic-theme-ios26.netlify.app/main/docs
__This feature is experimental. The library can be used without this feature.__
By registering ion-tab-bar / ion-segment, you can display animation effects on ion-tab-button / ion-segment-button

`js
import { registerTabBarEffect, registerSegmentEffect } from '@rdlabo/ionic-theme-ios26';
/**
* Register DOM elements. Effects are applied using Ionic Gesture and Ionic Animation.
*/
const registeredTabBarEffect = registerTabBarEffect(document.querySelector
const registeredSegmentEffect = registerSegmentEffect(document.querySelector
const destroy = () => {
/**
* If the registered DOM element is removed (e.g., due to page navigation),
* make sure to destroy the gesture and animation. This will also remove the event listeners.
* You can re-register them if needed.
*/
registeredTabBarEffect?.destroy();
registeredSegmentEffect?.destroy();
}
`
Enable Searchable for the DOM structure with the specified markup inner ion-tabs.

`html`
`ts
import { attachTabBarSearchable, TabBarSearchableFunction, TabBarSearchableType } from '@rdlabo/ionic-theme-ios26';
let searchableFun: TabBarSearchableFunction | undefined;
const initialize = () => {
// attachTabBarSearchable has state. You should initialize per page.
searchableFun = attachTabBarSearchable(
document.querySelector
document.querySelector('ion-fab-button'),
document.querySelector('ion-footer'),
);
}
const present = (event: Event) => {
searchableFun!(event, TabBarSearchableType.Enter);
}
const dismiss = (event: Event) => {
searchableFun!(event, TabBarSearchableType.Leave);
}
`
If you want to load a theme file only when the user's device is running iOS 26 (and let users on iOS 18 use the default Ionic iOS theme), you can achieve this by adding a supports-condition to your import.
`css`
@import '@rdlabo/ionic-theme-ios26/dist/css/default-variables.css' supports(text-wrap: pretty);
@import '@rdlabo/ionic-theme-ios26/dist/css/ionic-theme-ios26.css' supports(text-wrap: pretty);
@import '@rdlabo/ionic-theme-ios26/dist/css/md-remove-ios-class-effect.css' supports(text-wrap: pretty);
@import '@rdlabo/ionic-theme-ios26/dist/css/md-ion-list-inset.css' supports(text-wrap: pretty);
For gradual migration, you can selectively apply the iOS26 theme by importing individual components instead of the full theme file.
`css`
@import '@rdlabo/ionic-theme-ios26/dist/css/utils/translucent';
@import '@rdlabo/ionic-theme-ios26/dist/css/components/ion-action-sheet';
@import '@rdlabo/ionic-theme-ios26/dist/css/components/ion-alert';
@import '@rdlabo/ionic-theme-ios26/dist/css/components/ion-breadcrumbs';
@import '@rdlabo/ionic-theme-ios26/dist/css/components/ion-button';
...
When importing individual components with dark mode support, use SCSS instead of CSS. This is because the selectors differ between Always, System, and Class modes.
> Note: Currently, only ion-button has separate dark mode styling applied.
Always (Always Dark Mode):
`scss
@use '@rdlabo/ionic-theme-ios26/src/styles/utils/theme-dark';
:root {
@include theme-dark.default-variables;
}
@include theme-dark.ion-button;
@include theme-dark.ion-fab;
@include theme-dark.ion-tabs;
@include theme-dark.ion-segment;
`
System (Follow System Settings):
`scss
@use '@rdlabo/ionic-theme-ios26/src/styles/utils/theme-dark';
@media (prefers-color-scheme: dark) {
:root {
@include theme-dark.default-variables;
}
@include theme-dark.ion-button;
@include theme-dark.ion-fab;
@include theme-dark.ion-tabs;
@include theme-dark.ion-segment;
}
`
Class (Toggle with CSS Class):
`scss
@use '@rdlabo/ionic-theme-ios26/src/styles/utils/theme-dark';
.ion-palette-dark {
@include theme-dark.default-variables;
@include theme-dark.ion-button;
@include theme-dark.ion-fab;
@include theme-dark.ion-tabs;
@include theme-dark.ion-segment;
}
`
The demo/ directory contains an Angular application for testing and demonstrating the theme. To run the demo:
`bash`
cd demo
npm install
npm start
We use Playwright for visual regression testing to ensure consistent styling across all components. The test suite automatically captures screenshots of all routes in both light and dark modes.
#### Running Tests
`bash
cd demo