# Theme Toggle Pill

> A single-word theme pill: the accent thumb crosses the track and drags the night layer behind it while the word rolls, letter by letter, from Light to Dark.

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

## Features

- One word as the control — letters roll from Light to Dark with a staggered wave
- Accent thumb (the system's verified selection pair) that crosses the pill and pulls a hard-edged night wipe behind it
- WCAG AA: word ≥4.5:1 on the track, sun/moon ≥3:1 on the thumb, control edge and thumb rim ≥3:1 in both themes on all published systems
- Accessible switch semantics with a live status region; persisted preference with system fallback; RTL mirror; reduced motion

## Common questions

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

Theme Toggle Pill 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 Pill switch component free?**

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

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

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

## Get the code

Preview Theme Toggle Pill 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-pill

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
