Switch
1.0.0Accessible Switch primitive adapted from shadcn/ui.
npx jabkit add switchComponent Data
- ID
- switch
- Category
- atoms
- Version
- 1.0.0
- Added
- 2026-08-30
- Type
- component
- Keyboard nav
- Yes
- Reduced motion
- Yes
switchprimitiveaccessible
Dependencies
- clsx
- tailwind-merge
Examples
Default
<div className="dark bg-background p-6">
<Switch />
</div>