Switch
shadcn switch as a two-state pixel toggle with a dithered on side.
npx shadcn@latest add https://www.ui95.dev/r/switch.jsonRun it in a Radix shadcn project that already has the UI95 theme.
Switch
| Prop | Type | Default |
|---|---|---|
| size | "default" | "sm" | "default" |
- switch.on
- switch.off
Updated Nov 5, 2026