ReactVanillaLight & dark213 views
A bare token-driven group of four AI feature switches — Streaming, Memory, JSON mode, and Tool use — with design-system accent tracks, sliding thumbs, live screen-reader announcements, and clickable row labels in both light and dark.
Get the code for free
Create a free account to copy or download the full source.
Input component
A bare token-driven group of four AI feature switches — Streaming, Memory, JSON mode, and Tool use — with design-system accent tracks, sliding thumbs, live screen-reader announcements, and clickable row labels in both light and dark.
transform: translateX with a springy cubic-bezierrole="switch" inputs with aria-checked kept in sync by JavaScriptprefers-reduced-motionrole="switch" and JS-synced aria-checkedaria-label on every input plus two clickable <label for> elements per rowrole="group" with aria-label="Feature toggles" wraps the rowsrole="status" with aria-live="polite" announces "Feature enabled/disabled"role="switch" with aria-checked toggled by JS, Enter/Space activation:has(.ftg-input:focus-visible), plus the global :focus-visible ringprefers-reduced-motion: reduce disables all transitionsOpen Feature Toggles in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the input is regenerated against your tokens. Take the HTML, CSS, JS and React source with you, or pull it into your repo from Claude Code, Cursor or Codex over MCP.
300+ production-ready components and Atheros AI models. Every paid plan includes access to the whole Atheros — AI Builder and Learning.
Starting at $9.9 per month, billed annually