ButtonGroup — Basic
- from @astryx
- by Astryx
Three related actions joined into a single connected control. Provide a group label for accessibility and keep all buttons the same variant so they read as one unit.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @astryx/example-button-group-basicRegistry dependencies0
The CLI adds no other registry items with this one.
