Toggles
Accessible switches and toggles with playful, spring-driven motion. 15 components: pick one to see it live, then copy it into your project or install it with the shadcn CLI.
- Pull-Cord Lamp Toggle
A pendant lamp switched by its pull cord: drag the bead down until it clicks, the cord snaps back elastically and sways, the shade rocks on its wire and the bulb warms into a cone of light with…
- Watchful Eye Toggle
A soft eye opens and closes; the pupil tracks when open.
- Day Night Capsule
Illustrated mini sky that morphs day↔night.
- Glass Orb Switch
Translucent glass sphere slides on a dark track.
- Cosmic Sparkle Toggle
OFF/ON pill with a glowing star badge and halo.
- Blinker Switch
Classic switch whose knob blinks like an eyelid.
- Mood Dial Toggle
Tiny face dial springs between two moods.
- Ink Bloom Toggle
Track fills with a blooming ink blot when on.
- Pulsebeat Switch
Soft heartbeat pulse when on; flat when off.
- Frameflip Toggle
Tiny illustrated card flips between two states.
- Moth Lantern Toggle
A moth settles into lantern glow when on.
- Petal Circuit Toggle
Petals fold inward to complete a circuit.
- Tideglass Toggle
Waterline rises and falls in a glass pane.
- Weather Vane Toggle
Vane pivots; grain shifts with wind.
- Theme Reveal Toggle
A sky-to-night switch: the sun rolls behind a crescent, clouds give way to stars, and the theme change blooms out of the switch as a circular View Transition reveal. Instant swap under reduced motion.