B
beUI
/
components
/
switch
Switch
· beUI
Toggle with a spring-driven thumb and press feedback.
npx shadcn@latest add
@beui/switch
Preview
Switch on beUI's site (opens in a new tab)
Loading the source for
switch
…
Files
Code
Info
Registry Items
@components
1
@lib
1
switch
Configuration
Name
switch
Type
Component
Description
Toggle with a spring-driven thumb and press feedback.
Files · 2
switch.tsx
@components/motion/switch.tsx
utils.ts
@lib/utils.ts
Dependencies
npm packages
clsx
motion
tailwind-merge
Registry Items
@components
1
@lib
1
switch
Configuration
Name
switch
Type
Component
Description
Toggle with a spring-driven thumb and press feedback.
Files · 2
switch.tsx
@components/motion/switch.tsx
utils.ts
@lib/utils.ts
Dependencies
npm packages
clsx
motion
tailwind-merge