Switch · Shadcn UI Kit

A control that allows the user to toggle between on and off. Every switch variant toggles reliably with Radix UI and Base UI semantics.

npx shadcn@latest add @shadcnuikit/switch4
Preview Switch on Shadcn UI Kit's site (opens in a new tab)
Loading the source for switch4…

switch4