Toggle Group
- from @ai2
Single or multiple selection toggle group on radix-ui. Inherits variant/size/tone from the group via context; outline variant renders as a segmented control.
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 @ai2/toggle-groupLive preview
No live preview has been built for this component yet.
Registry dependencies3
- @ai2/toggle
- @ai2/tokens
- @ai2/primitives
