Toggle group
A row of toggles where one or several can be on, like bold, italic and underline.
A row of toggles where one or several can be on, like bold, italic and underline.
It uses Toggle, which the command adds for you.
npx shadcn@latest add toggle-group
npm install class-variance-authority lucide-react 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.