Button group
Buttons joined into one bar, for actions that belong together.
Buttons joined into one bar, for actions that belong together.
It uses Separator, Button and Dropdown menu, which the command adds for you.
npx shadcn@latest add button-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.