Switch
An on and off switch for a setting.
An on and off switch for a setting.
It uses Label, which the command adds for you.
npx shadcn@latest add switch
npm install radix-ui
First time with shadcn/ui? Set it up once.
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.