diff --git a/docs/api/toggle.mdx b/docs/api/toggle.mdx
index 36b1fe39063..974d2921d63 100644
--- a/docs/api/toggle.mdx
+++ b/docs/api/toggle.mdx
@@ -37,6 +37,16 @@ import OnOff from '@site/static/usage/v9/toggle/on-off/index.mdx';
+### Custom On / Off Icons {/* #custom-on--off-icons */}
+
+The icons shown when on/off labels are enabled can be set to any [Ionicon](https://ionic.io/ionicons) or the `src` of an SVG file using the `checkedIcon` and `uncheckedIcon` properties. To change the icons for every toggle in an app, use the `toggleCheckedIcon` and `toggleUncheckedIcon` [global config](/developing/config.mdx#ionicconfig) options. A property set on a toggle takes priority over the global config.
+
+Custom icons are hidden from assistive technology, so the toggle's label needs to describe the setting on its own. Pick icons that keep the checked and unchecked states visually distinct.
+
+import OnOffIcons from '@site/static/usage/v9/toggle/on-off-icons/index.mdx';
+
+
+
## Toggles in a List {/* #toggles-in-a-list */}
Toggles can also be used in a list view by using the [Item](./item) and [List](./list) components.
diff --git a/docs/developing/config.mdx b/docs/developing/config.mdx
index 66d7b5eb0dc..8cb589572dc 100644
--- a/docs/developing/config.mdx
+++ b/docs/developing/config.mdx
@@ -208,6 +208,8 @@ Below are the config options that Ionic uses.
| `toastDuration` | `number` | Overrides the default `duration` for all `ion-toast` components. |
| `toastEnter` | `AnimationBuilder` | Provides a custom enter animation for all `ion-toast`, overriding the default "animation". |
| `toastLeave` | `AnimationBuilder` | Provides a custom leave animation for all `ion-toast`, overriding the default "animation". |
+| `toggleCheckedIcon` | `string` | Overrides the default checked icon in all `ion-toggle` components. Only shown when `enableOnOffLabels` is `true`. |
| `toggleOnOffLabels` | `boolean` | Overrides the default `enableOnOffLabels` in all `ion-toggle` components. |
+| `toggleUncheckedIcon` | `string` | Overrides the default unchecked icon in all `ion-toggle` components. Only shown when `enableOnOffLabels` is `true`. |
| `experimentalCloseWatcher` | `boolean` | **Experimental:** If `true`, the [CloseWatcher API](https://github.com/WICG/close-watcher) will be used to handle all Escape key and hardware back button presses to dismiss menus and overlays and to navigate. Note that the `hardwareBackButton` config option must also be `true`. |
| `focusManagerPriority` | [`FocusManagerPriority[]`](./managing-focus#types) | **Experimental:** When defined, Ionic will move focus to the appropriate element after each page transition. This ensures that users relying on assistive technology are informed when a page transition happens. Disabled by default. |
diff --git a/static/code/stackblitz/v9/angular/package-lock.json b/static/code/stackblitz/v9/angular/package-lock.json
index 4b05f85b4c1..298d3be2f48 100644
--- a/static/code/stackblitz/v9/angular/package-lock.json
+++ b/static/code/stackblitz/v9/angular/package-lock.json
@@ -14,8 +14,8 @@
"@angular/platform-browser": "^22.0.0",
"@angular/platform-browser-dynamic": "^22.0.0",
"@angular/router": "^22.0.0",
- "@ionic/angular": "9.0.13-dev.11795197602.11ba74b4",
- "@ionic/core": "9.0.13-dev.11795197602.11ba74b4",
+ "@ionic/angular": "9.0.13-dev.11795209321.12c3c69e",
+ "@ionic/core": "9.0.13-dev.11795209321.12c3c69e",
"ionicons": "8.1.0",
"rxjs": "^7.8.1",
"tslib": "^2.5.0"
@@ -2578,12 +2578,12 @@
}
},
"node_modules/@ionic/angular": {
- "version": "9.0.13-dev.11795197602.11ba74b4",
- "resolved": "https://registry.npmjs.org/@ionic/angular/-/angular-9.0.13-dev.11795197602.11ba74b4.tgz",
- "integrity": "sha512-fxIfP6m9nDNDniKGbN2NnK6kWCLDq+60gOHEIfTyNsxn/j8rRVjliB5inxr0UOIwmOs+LN6k2t+RgplCqfFpcA==",
+ "version": "9.0.13-dev.11795209321.12c3c69e",
+ "resolved": "https://registry.npmjs.org/@ionic/angular/-/angular-9.0.13-dev.11795209321.12c3c69e.tgz",
+ "integrity": "sha512-HB22uIzirPe5iONsC4GlFnzq6E4esUPFs8bJq2Td08dL6R4KJKuwkxc5SEz6wrh61TDMIOszUHt9akyGI2YVgQ==",
"license": "MIT",
"dependencies": {
- "@ionic/core": "9.0.13-dev.11795197602.11ba74b4",
+ "@ionic/core": "9.0.13-dev.11795209321.12c3c69e",
"ionicons": "^8.0.13",
"jsonc-parser": "^3.0.0",
"tslib": "^2.3.0"
@@ -2602,9 +2602,9 @@
}
},
"node_modules/@ionic/core": {
- "version": "9.0.13-dev.11795197602.11ba74b4",
- "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795197602.11ba74b4.tgz",
- "integrity": "sha512-2F9QwrH2wlsE5tJUU0R0vgDJpFoFuMNf8toXRjNp7w0eVIVBDbrfCHuOfojw839DY2ww6r8N1kXqgft4n7M29A==",
+ "version": "9.0.13-dev.11795209321.12c3c69e",
+ "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795209321.12c3c69e.tgz",
+ "integrity": "sha512-vP6Yu+J/RXguRCzGimDJ853nmiAUfEr4jROdT3dZsTUM9ZCx5+ydk+5J1meXz03HO4QgteWvLHKudwdXOFfrBg==",
"license": "MIT",
"dependencies": {
"@stencil/core": "^4.45.4",
@@ -4233,9 +4233,9 @@
"license": "MIT"
},
"node_modules/@stencil/core": {
- "version": "4.45.5",
- "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.5.tgz",
- "integrity": "sha512-tz6h9MI/s0WwNsfGbSguo9+xnerWam8NI8/U3VUS9MNMviTYyg3Ymz5XniSM9PGFnbd2xhhmyJhHHaFmy9mYog==",
+ "version": "4.45.4",
+ "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.4.tgz",
+ "integrity": "sha512-MkGop5DULDFAorpI4/zeEqmU9KRuUaqrjprMrEdpqGXhWQ8Lkk4jqQF+lJtOa3BjPrv8j7Ux2hu6vpd4vJJUvw==",
"license": "MIT",
"bin": {
"stencil": "bin/stencil"
diff --git a/static/code/stackblitz/v9/angular/package.json b/static/code/stackblitz/v9/angular/package.json
index b4456ce7f5a..b8615ef5c97 100644
--- a/static/code/stackblitz/v9/angular/package.json
+++ b/static/code/stackblitz/v9/angular/package.json
@@ -15,8 +15,8 @@
"@angular/platform-browser": "^22.0.0",
"@angular/platform-browser-dynamic": "^22.0.0",
"@angular/router": "^22.0.0",
- "@ionic/angular": "9.0.13-dev.11795197602.11ba74b4",
- "@ionic/core": "9.0.13-dev.11795197602.11ba74b4",
+ "@ionic/angular": "9.0.13-dev.11795209321.12c3c69e",
+ "@ionic/core": "9.0.13-dev.11795209321.12c3c69e",
"ionicons": "8.1.0",
"rxjs": "^7.8.1",
"tslib": "^2.5.0"
diff --git a/static/code/stackblitz/v9/html/package-lock.json b/static/code/stackblitz/v9/html/package-lock.json
index 585844a67bc..ee46e9208c6 100644
--- a/static/code/stackblitz/v9/html/package-lock.json
+++ b/static/code/stackblitz/v9/html/package-lock.json
@@ -6,7 +6,7 @@
"": {
"name": "html-starter",
"dependencies": {
- "@ionic/core": "9.0.13-dev.11795197602.11ba74b4",
+ "@ionic/core": "9.0.13-dev.11795209321.12c3c69e",
"ionicons": "8.1.0"
},
"devDependencies": {
@@ -16,9 +16,9 @@
}
},
"node_modules/@ionic/core": {
- "version": "9.0.13-dev.11795197602.11ba74b4",
- "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795197602.11ba74b4.tgz",
- "integrity": "sha512-2F9QwrH2wlsE5tJUU0R0vgDJpFoFuMNf8toXRjNp7w0eVIVBDbrfCHuOfojw839DY2ww6r8N1kXqgft4n7M29A==",
+ "version": "9.0.13-dev.11795209321.12c3c69e",
+ "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795209321.12c3c69e.tgz",
+ "integrity": "sha512-vP6Yu+J/RXguRCzGimDJ853nmiAUfEr4jROdT3dZsTUM9ZCx5+ydk+5J1meXz03HO4QgteWvLHKudwdXOFfrBg==",
"license": "MIT",
"dependencies": {
"@stencil/core": "^4.45.4",
@@ -136,9 +136,9 @@
]
},
"node_modules/@stencil/core": {
- "version": "4.45.5",
- "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.5.tgz",
- "integrity": "sha512-tz6h9MI/s0WwNsfGbSguo9+xnerWam8NI8/U3VUS9MNMviTYyg3Ymz5XniSM9PGFnbd2xhhmyJhHHaFmy9mYog==",
+ "version": "4.45.4",
+ "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.4.tgz",
+ "integrity": "sha512-MkGop5DULDFAorpI4/zeEqmU9KRuUaqrjprMrEdpqGXhWQ8Lkk4jqQF+lJtOa3BjPrv8j7Ux2hu6vpd4vJJUvw==",
"license": "MIT",
"bin": {
"stencil": "bin/stencil"
diff --git a/static/code/stackblitz/v9/html/package.json b/static/code/stackblitz/v9/html/package.json
index c3a49f2f4c9..2dad1ea7c79 100644
--- a/static/code/stackblitz/v9/html/package.json
+++ b/static/code/stackblitz/v9/html/package.json
@@ -9,7 +9,7 @@
"start": "vite preview"
},
"dependencies": {
- "@ionic/core": "9.0.13-dev.11795197602.11ba74b4",
+ "@ionic/core": "9.0.13-dev.11795209321.12c3c69e",
"ionicons": "8.1.0"
},
"devDependencies": {
diff --git a/static/code/stackblitz/v9/react/package-lock.json b/static/code/stackblitz/v9/react/package-lock.json
index ea4d53cbbb6..8278117762f 100644
--- a/static/code/stackblitz/v9/react/package-lock.json
+++ b/static/code/stackblitz/v9/react/package-lock.json
@@ -8,8 +8,8 @@
"name": "vite-react-typescript",
"version": "0.1.0",
"dependencies": {
- "@ionic/react": "9.0.13-dev.11795197602.11ba74b4",
- "@ionic/react-router": "9.0.13-dev.11795197602.11ba74b4",
+ "@ionic/react": "9.0.13-dev.11795209321.12c3c69e",
+ "@ionic/react-router": "9.0.13-dev.11795209321.12c3c69e",
"@types/node": "^24.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
@@ -256,9 +256,9 @@
"license": "MIT"
},
"node_modules/@ionic/core": {
- "version": "9.0.13-dev.11795197602.11ba74b4",
- "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795197602.11ba74b4.tgz",
- "integrity": "sha512-2F9QwrH2wlsE5tJUU0R0vgDJpFoFuMNf8toXRjNp7w0eVIVBDbrfCHuOfojw839DY2ww6r8N1kXqgft4n7M29A==",
+ "version": "9.0.13-dev.11795209321.12c3c69e",
+ "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795209321.12c3c69e.tgz",
+ "integrity": "sha512-vP6Yu+J/RXguRCzGimDJ853nmiAUfEr4jROdT3dZsTUM9ZCx5+ydk+5J1meXz03HO4QgteWvLHKudwdXOFfrBg==",
"license": "MIT",
"dependencies": {
"@stencil/core": "^4.45.4",
@@ -270,12 +270,12 @@
}
},
"node_modules/@ionic/react": {
- "version": "9.0.13-dev.11795197602.11ba74b4",
- "resolved": "https://registry.npmjs.org/@ionic/react/-/react-9.0.13-dev.11795197602.11ba74b4.tgz",
- "integrity": "sha512-vEqxWTGziTdJjlfDQa81bctIhLyHVu54X12gfjFAjNGVstu++kjrCInbv9VcpfBouo9IriT8T25QliAJSsq+6w==",
+ "version": "9.0.13-dev.11795209321.12c3c69e",
+ "resolved": "https://registry.npmjs.org/@ionic/react/-/react-9.0.13-dev.11795209321.12c3c69e.tgz",
+ "integrity": "sha512-2IVKuuN7kjpbLD3zyMCmmqJvPiuybvRoYEPTNkv+yYZmgtlcJST6CcAErypOVjUS1TAdVY9ruA5gxZvA6jYCjA==",
"license": "MIT",
"dependencies": {
- "@ionic/core": "9.0.13-dev.11795197602.11ba74b4",
+ "@ionic/core": "9.0.13-dev.11795209321.12c3c69e",
"@stencil/react-output-target": "^1.7.0",
"ionicons": "^8.0.13",
"tslib": "*"
@@ -286,13 +286,13 @@
}
},
"node_modules/@ionic/react-router": {
- "version": "9.0.13-dev.11795197602.11ba74b4",
- "resolved": "https://registry.npmjs.org/@ionic/react-router/-/react-router-9.0.13-dev.11795197602.11ba74b4.tgz",
- "integrity": "sha512-xfEQHL8/7LUeWXmWhlIBH65HCibYOckADmRbGBJvz5/8z3jso+norvRtdvL+FhBWae2sUWTrdvuHzTd05lJJdw==",
+ "version": "9.0.13-dev.11795209321.12c3c69e",
+ "resolved": "https://registry.npmjs.org/@ionic/react-router/-/react-router-9.0.13-dev.11795209321.12c3c69e.tgz",
+ "integrity": "sha512-WvDnaTf94szJTou/9FFjCbXQH7mOhKx9UqVDuuUCnKSG4tPv81Q0XL362PloKt2MMzRLSU+HcRaoTRPIwJug7g==",
"license": "MIT",
"dependencies": {
- "@ionic/core": "9.0.13-dev.11795197602.11ba74b4",
- "@ionic/react": "9.0.13-dev.11795197602.11ba74b4",
+ "@ionic/core": "9.0.13-dev.11795209321.12c3c69e",
+ "@ionic/react": "9.0.13-dev.11795209321.12c3c69e",
"tslib": "*"
},
"peerDependencies": {
@@ -487,9 +487,9 @@
]
},
"node_modules/@stencil/core": {
- "version": "4.45.5",
- "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.5.tgz",
- "integrity": "sha512-tz6h9MI/s0WwNsfGbSguo9+xnerWam8NI8/U3VUS9MNMviTYyg3Ymz5XniSM9PGFnbd2xhhmyJhHHaFmy9mYog==",
+ "version": "4.45.4",
+ "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.4.tgz",
+ "integrity": "sha512-MkGop5DULDFAorpI4/zeEqmU9KRuUaqrjprMrEdpqGXhWQ8Lkk4jqQF+lJtOa3BjPrv8j7Ux2hu6vpd4vJJUvw==",
"license": "MIT",
"bin": {
"stencil": "bin/stencil"
diff --git a/static/code/stackblitz/v9/react/package.json b/static/code/stackblitz/v9/react/package.json
index 57cb9bd734d..fbbe257a5da 100644
--- a/static/code/stackblitz/v9/react/package.json
+++ b/static/code/stackblitz/v9/react/package.json
@@ -3,8 +3,8 @@
"version": "0.1.0",
"private": true,
"dependencies": {
- "@ionic/react": "9.0.13-dev.11795197602.11ba74b4",
- "@ionic/react-router": "9.0.13-dev.11795197602.11ba74b4",
+ "@ionic/react": "9.0.13-dev.11795209321.12c3c69e",
+ "@ionic/react-router": "9.0.13-dev.11795209321.12c3c69e",
"@types/node": "^24.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
diff --git a/static/code/stackblitz/v9/vue/package-lock.json b/static/code/stackblitz/v9/vue/package-lock.json
index 2e50235dc1a..53957198aa4 100644
--- a/static/code/stackblitz/v9/vue/package-lock.json
+++ b/static/code/stackblitz/v9/vue/package-lock.json
@@ -8,8 +8,8 @@
"name": "vite-vue-starter",
"version": "0.0.0",
"dependencies": {
- "@ionic/vue": "9.0.13-dev.11795197602.11ba74b4",
- "@ionic/vue-router": "9.0.13-dev.11795197602.11ba74b4",
+ "@ionic/vue": "9.0.13-dev.11795209321.12c3c69e",
+ "@ionic/vue-router": "9.0.13-dev.11795209321.12c3c69e",
"vue": "^3.2.25",
"vue-router": "5.4.0"
},
@@ -63,9 +63,9 @@
}
},
"node_modules/@ionic/core": {
- "version": "9.0.13-dev.11795197602.11ba74b4",
- "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795197602.11ba74b4.tgz",
- "integrity": "sha512-2F9QwrH2wlsE5tJUU0R0vgDJpFoFuMNf8toXRjNp7w0eVIVBDbrfCHuOfojw839DY2ww6r8N1kXqgft4n7M29A==",
+ "version": "9.0.13-dev.11795209321.12c3c69e",
+ "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795209321.12c3c69e.tgz",
+ "integrity": "sha512-vP6Yu+J/RXguRCzGimDJ853nmiAUfEr4jROdT3dZsTUM9ZCx5+ydk+5J1meXz03HO4QgteWvLHKudwdXOFfrBg==",
"license": "MIT",
"dependencies": {
"@stencil/core": "^4.45.4",
@@ -77,23 +77,23 @@
}
},
"node_modules/@ionic/vue": {
- "version": "9.0.13-dev.11795197602.11ba74b4",
- "resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-9.0.13-dev.11795197602.11ba74b4.tgz",
- "integrity": "sha512-rHyDPHHSxvcmH17yB3IzWPHneXvmpVQEVk1WdwFQUNkutWgSALKH4pIiRLvvMpbp4GcaFbwl9WNxtr2Q5I+CfQ==",
+ "version": "9.0.13-dev.11795209321.12c3c69e",
+ "resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-9.0.13-dev.11795209321.12c3c69e.tgz",
+ "integrity": "sha512-lNFve2nWOuTk00l6Rsvs5dGlDCRMPLgWgG1GqSDmd6TKGHd4fMh1VyjLjRfA87CCuwJxvrDuaeCat10mP7Y/sQ==",
"license": "MIT",
"dependencies": {
- "@ionic/core": "9.0.13-dev.11795197602.11ba74b4",
+ "@ionic/core": "9.0.13-dev.11795209321.12c3c69e",
"@stencil/vue-output-target": "0.14.7",
"ionicons": "^8.0.13"
}
},
"node_modules/@ionic/vue-router": {
- "version": "9.0.13-dev.11795197602.11ba74b4",
- "resolved": "https://registry.npmjs.org/@ionic/vue-router/-/vue-router-9.0.13-dev.11795197602.11ba74b4.tgz",
- "integrity": "sha512-wo3SqRqT88WaLqxClTIXi37GzqLvntAUNPTyDNLeeWiIRl2JTJNHvM46VTraWb9kQcB4xqKPpK17q3UsraFAzw==",
+ "version": "9.0.13-dev.11795209321.12c3c69e",
+ "resolved": "https://registry.npmjs.org/@ionic/vue-router/-/vue-router-9.0.13-dev.11795209321.12c3c69e.tgz",
+ "integrity": "sha512-ucoDs6uLcYWPM72XpJvxVgasyQqkWKZTx2KCUUhjdLYRXlsjxnXGMUkWhd07pc5UgQfxoXl32U4kw8AcjhYC0w==",
"license": "MIT",
"dependencies": {
- "@ionic/vue": "9.0.13-dev.11795197602.11ba74b4"
+ "@ionic/vue": "9.0.13-dev.11795209321.12c3c69e"
}
},
"node_modules/@jridgewell/gen-mapping": {
@@ -255,9 +255,9 @@
]
},
"node_modules/@stencil/core": {
- "version": "4.45.5",
- "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.5.tgz",
- "integrity": "sha512-tz6h9MI/s0WwNsfGbSguo9+xnerWam8NI8/U3VUS9MNMviTYyg3Ymz5XniSM9PGFnbd2xhhmyJhHHaFmy9mYog==",
+ "version": "4.45.4",
+ "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.4.tgz",
+ "integrity": "sha512-MkGop5DULDFAorpI4/zeEqmU9KRuUaqrjprMrEdpqGXhWQ8Lkk4jqQF+lJtOa3BjPrv8j7Ux2hu6vpd4vJJUvw==",
"license": "MIT",
"bin": {
"stencil": "bin/stencil"
@@ -674,7 +674,7 @@
"node_modules/esbuild": {
"name": "esbuild-wasm",
"version": "0.28.1",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"bin": {
"esbuild": "bin/esbuild"
@@ -710,7 +710,6 @@
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
- "dev": true,
"hasInstallScript": true,
"license": "MIT",
"optional": true,
@@ -920,7 +919,7 @@
"node_modules/rollup": {
"name": "@rollup/wasm-node",
"version": "4.62.3",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"@types/estree": "1.0.9"
@@ -971,7 +970,7 @@
},
"node_modules/typescript": {
"version": "5.9.3",
- "dev": true,
+ "devOptional": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
@@ -1063,7 +1062,7 @@
"version": "7.3.7",
"resolved": "https://registry.npmjs.org/vite/-/vite-7.3.7.tgz",
"integrity": "sha512-AHEzTORMbi7/7aXp7w7KZ5+DCUdSeLsJz0grY8xHpc9DHdYb0vQu6DqJfm2tOw3gDExNgPgnJTXxM6syYFHaCA==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"esbuild": "^0.27.0 || ^0.28.0",
diff --git a/static/code/stackblitz/v9/vue/package.json b/static/code/stackblitz/v9/vue/package.json
index 0d645e40b08..69a608f5650 100644
--- a/static/code/stackblitz/v9/vue/package.json
+++ b/static/code/stackblitz/v9/vue/package.json
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
- "@ionic/vue": "9.0.13-dev.11795197602.11ba74b4",
- "@ionic/vue-router": "9.0.13-dev.11795197602.11ba74b4",
+ "@ionic/vue": "9.0.13-dev.11795209321.12c3c69e",
+ "@ionic/vue-router": "9.0.13-dev.11795209321.12c3c69e",
"vue": "^3.2.25",
"vue-router": "5.4.0"
},
diff --git a/static/usage/v9/fab/animation/demo.html b/static/usage/v9/fab/animation/demo.html
index 7bef1b30b4c..5c10fceb4d1 100644
--- a/static/usage/v9/fab/animation/demo.html
+++ b/static/usage/v9/fab/animation/demo.html
@@ -8,11 +8,11 @@
diff --git a/static/usage/v9/toggle/on-off-icons/angular/example_component_html.md b/static/usage/v9/toggle/on-off-icons/angular/example_component_html.md
new file mode 100644
index 00000000000..93abdcb65a1
--- /dev/null
+++ b/static/usage/v9/toggle/on-off-icons/angular/example_component_html.md
@@ -0,0 +1,3 @@
+```html
+Dark Mode
+```
diff --git a/static/usage/v9/toggle/on-off-icons/angular/example_component_ts.md b/static/usage/v9/toggle/on-off-icons/angular/example_component_ts.md
new file mode 100644
index 00000000000..d07b68ff264
--- /dev/null
+++ b/static/usage/v9/toggle/on-off-icons/angular/example_component_ts.md
@@ -0,0 +1,24 @@
+```ts
+import { Component } from '@angular/core';
+import { IonToggle } from '@ionic/angular';
+
+import { addIcons } from 'ionicons';
+import { moon, sunny } from 'ionicons/icons';
+
+@Component({
+ selector: 'app-example',
+ templateUrl: 'example.component.html',
+ styleUrls: ['example.component.css'],
+ imports: [IonToggle],
+})
+export class ExampleComponent {
+ constructor() {
+ /**
+ * Any icons you want to use in your application
+ * can be registered in app.component.ts and then
+ * referenced by name anywhere in your application.
+ */
+ addIcons({ moon, sunny });
+ }
+}
+```
diff --git a/static/usage/v9/toggle/on-off-icons/demo.html b/static/usage/v9/toggle/on-off-icons/demo.html
new file mode 100644
index 00000000000..53235060fa2
--- /dev/null
+++ b/static/usage/v9/toggle/on-off-icons/demo.html
@@ -0,0 +1,28 @@
+
+
+
+
+
+ Toggle - On / Off Icons
+
+
+
+
+
+
+
+
+
+
+ Dark Mode
+
+
+
+
+
diff --git a/static/usage/v9/toggle/on-off-icons/index.mdx b/static/usage/v9/toggle/on-off-icons/index.mdx
new file mode 100644
index 00000000000..c4e900149fd
--- /dev/null
+++ b/static/usage/v9/toggle/on-off-icons/index.mdx
@@ -0,0 +1,24 @@
+import Playground from '@site/src/components/global/Playground';
+
+import javascript from './javascript.md';
+import react from './react.md';
+import vue from './vue.md';
+
+import angular_example_component_html from './angular/example_component_html.md';
+import angular_example_component_ts from './angular/example_component_ts.md';
+
+
diff --git a/static/usage/v9/toggle/on-off-icons/javascript.md b/static/usage/v9/toggle/on-off-icons/javascript.md
new file mode 100644
index 00000000000..cc999a10ddd
--- /dev/null
+++ b/static/usage/v9/toggle/on-off-icons/javascript.md
@@ -0,0 +1,15 @@
+```html
+Dark Mode
+
+
+```
diff --git a/static/usage/v9/toggle/on-off-icons/react.md b/static/usage/v9/toggle/on-off-icons/react.md
new file mode 100644
index 00000000000..61b4cd166a0
--- /dev/null
+++ b/static/usage/v9/toggle/on-off-icons/react.md
@@ -0,0 +1,14 @@
+```tsx
+import React from 'react';
+import { IonToggle } from '@ionic/react';
+import { moon, sunny } from 'ionicons/icons';
+
+function Example() {
+ return (
+
+ Dark Mode
+
+ );
+}
+export default Example;
+```
diff --git a/static/usage/v9/toggle/on-off-icons/vue.md b/static/usage/v9/toggle/on-off-icons/vue.md
new file mode 100644
index 00000000000..101a80d23ba
--- /dev/null
+++ b/static/usage/v9/toggle/on-off-icons/vue.md
@@ -0,0 +1,10 @@
+```vue
+
+ Dark Mode
+
+
+
+```