Dev Design Library

Switch 08 - Role Picker

A colorful role-picker switch that swaps track color and thumb icon per state, with a soft ambient glow and side labels that emphasize the active choice.

Switch 08 - Role Picker preview
Library
Shadcn Space
Framework
React
Type
component
License
MIT
Dependencies
lucide-react, motion
Files
  • src/components/shadcn-space/switch/switch-08.tsx
  • src/lib/utils.ts
  • src/config.ts
Source
https://github.com/shadcnspace/shadcnspace

Categories

More from Shadcn Space