Report a problem or share feedback← Catalog
Switch
freebeui/switch
Toggle with a spring-driven thumb and press feedback.
$
npx shadcn@latest add @beui/switchnpm deps: clsx, motion, tailwind-merge
- Source
- beUI (free)
- Kind
- component
- Categories
- input
- Use as
- drop-in — replaces your component
- Applies to
- input
- Motion
- on state, press · subtle · motion · medium cost
- Tags
- react, tailwind-v4, motion, motion
- Licence
- MIT — Copyright (c) 2026 Saurabh Chauhan; retain the upstream notice when copying source.
- Live demo
- beui.dev
- Docs
- beui.dev
Similar
Compare all 4 →- Prompt Barbeautifui/prompt-barBottom prompt bar with attachments/actions. Requires the Beautiful UI foundation.css, which redefines --accent (collides with shadcn).
- Halo Inputcult-ui/halo-inputInput with animated focus halo + validation states. Tokens for border/text, Vercel-style rainbow hex for the glow — retint for your brand. @base-ui/react + motion.
- Prompt Composercult-ui/prompt-composerAI prompt composer with attachments/actions and a shader glow. Mostly tokens, but teal/blue hex accents and @paper-design/shaders-react + @base-ui/react are heavy deps.