# Theme Toggle Labeled

> A two-word segmented theme control whose pill moves edge-first: its leading edge lunges to the other word and drags the night behind it, then the trailing edge follows and the pill snaps taut around the new label.

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

## Features

- Explicit light and dark labels with sun and moon icons
- Sliding accent-filled thumb on the design system's verified on-accent pair
- Design-system radius: a true pill on round systems, squared on sharp ones
- Accessible switch semantics with role=switch, aria-checked, Space/Enter, a polite live region, and a two-tone accent focus ring
- Persisted theme preference and responsive layout

## Common questions

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

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

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

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

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

## Get the code

Preview Theme Toggle Labeled 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-labeled

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
