# Switch Labeled

> A split-flap departure-board settings panel — every labeled switch is a solari cell whose ON and OFF characters drop into place with a flap animation while a machined blank plate slides across on a spring, with `role="switch"` semantics, a live status strip, and full keyboard support.

- Category: Switch
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Caret
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Tags: toggle
- Page: https://builder.atheros.ai/components/switch-labeled
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_switch_labeled/preview-8048b9b93b02.webp

## Features

- Split-flap reveal — the incoming ON or OFF label rotates down around the cell hinge like a solari departure board, settling with an overshoot
- Machined blank plate thumb sliding via `transform: translateX` on a spring bezier, with a knurled grip etched by a one-line repeating gradient
- A dark hinge line crossing every cell at its equator, over both the characters and the plate
- Board masthead and status strip framing the paper list top and bottom
- Live `NN / NN` systems counter in the status strip, re-flapping on every change and announced via `aria-live`
- Row indices that light up amber-ink when their switch is on
- True `role="switch"` semantics with `aria-checked` synced on every change
- Dark/light theme toggle with smooth transitions
- Full keyboard support — Space and Enter activate the focused switch
- Fully respects `prefers-reduced-motion`

## Accessibility

- **Switch role** — Each control is a `<button>` with `role="switch"` and `aria-checked`
- **Label hiding** — Decorative ON/OFF characters and row indices are `aria-hidden="true"`
- **Live state** — The status counter uses `aria-live="polite"` to announce changes
- **Keyboard activation** — Space and Enter toggle the focused switch
- **Focus indicators** — `:focus-visible` outlines on all interactive elements
- **Reduced motion** — `prefers-reduced-motion: reduce` disables all animations

## Keyboard shortcuts

- `Enter` — Toggle the focused switch or theme toggle
- `Space` — Toggle the focused switch or theme toggle
- `Tab` — Move focus between the switches and the theme toggle

## Common questions

**Which frameworks is Switch Labeled available in?**

Switch 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 Switch Labeled free?**

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

**Does Switch Labeled support dark mode?**

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

## Get the code

Preview Switch 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/switch-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
