Switch on Base UI whose thumb stretches on press then springs across, with sm and default sizes, a loading spinner state and an optional clickable label row.
npx shadcn@latest add @minidev/switch
Loading the source for switch…
Registry Items
switch
Configuration
Name
switch
Type
UI
Description
Switch on Base UI whose thumb stretches on press then springs across, with sm and default sizes, a loading spinner state and an optional clickable label row.
Files · 1
Dependencies
npm packages
@base-ui/react
lucide-react
motion
Registry Items
switch
Configuration
Name
switch
Type
UI
Description
Switch on Base UI whose thumb stretches on press then springs across, with sm and default sizes, a loading spinner state and an optional clickable label row.