# Theme Toggle Float

> A levitating theme toggle that bobs above its own shadow and has to land to change: the disc drops onto the shadow, swaps its glyph at impact, and springs back up already changed.

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

## Features

- Levitation idle motion with counterpoint ground shadow
- Neutral white/ink resting palette; on hover/focus the design-system accent takes the edge, icon and a soft same-hue lift shadow
- Tabler sun/moon crossfade with self-drawing crescent and twinkling stars
- Native button switch semantics with aria-checked synchronization
- Persisted light and dark preference with prefers-color-scheme fallback

## Common questions

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

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

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

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

Yes. Theme Toggle Float 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 Float 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-float

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
