Bavaria Toggle Switch
On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.
On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.
On/off toggle: a native checkbox with role="switch", drawn as a round track that fills with the accent while the white knob slides over on a soft spring. Use it for settings that apply at once; use Checkbox inside forms that submit.
It is part of Aeris: white pages, soft grey cards, one electric blue. The style’s 92 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.
To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.
On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.
On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.
On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.
On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.
On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.
On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.
On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.
On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.