# Theme Toggle iOS

> An iOS-style switch whose knob squashes along its travel and lays the accent fill down under itself as a hard-edged bloom — and takes it back up on the way home.

- Category: Switch
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Aperture
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Tags: theme
- Page: https://builder.atheros.ai/components/theme-toggle-ios
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_theme_toggle_ios/preview-d5f370985a7d.webp

## Features

- Platform geometry (51×31 track, 27pt knob, 2pt inset) with the knob's squash-and-settle along its travel
- The accent fill is a circle riding under the knob, not a colour tween: the knob paints the track and swallows the colour back, on the platform's own curve
- The fill carries its own on-accent sun and moon; the off track is an opaque neutral that steps with the theme, so no glyph or knob edge ever sits on a mid-tone
- WCAG: knob ink/paper pair ≥3:1 on both track fills, glyphs ≥3:1 on their layer, focus ring ≥3:1, in both themes on all published systems; live status region; reduced motion

## Common questions

**Which frameworks is Theme Toggle iOS available in?**

Theme Toggle iOS ships as Vanilla, React + CSS and React + Tailwind — HTML, CSS, JS and React source you can copy, download or clone into Atheros AI Builder.

**Is the Theme Toggle iOS switch component free?**

Theme Toggle iOS is a premium component. Anyone can preview it; the source, downloads and AI customisation are included with Atheros AI Pass.

**Does Theme Toggle iOS support dark mode?**

Yes. Theme Toggle iOS ships light and dark themes, both drawn from the Aperture design system's tokens. Switch the preview to dark mode to compare them.

## Get the code

Preview Theme Toggle iOS live, then sign in to copy or download the source, apply another design system, or ask the AI assistant to change it: https://builder.atheros.ai/components/theme-toggle-ios

Every component on https://builder.atheros.ai is also reachable from Claude Code, Cursor and Codex through the Atheros MCP server (paid plans). Component index: https://builder.atheros.ai/llms-components.txt
