Components/Toggle Group
Toggle Group
A composable toggle group primitive for modern product interfaces.
Base UI
Interactive example
Installation
Run the CLI from your project root. Dependencies and component source are added automatically.
$npx quackelements add toggle-groupUsage
The generated file lives in your repository, so the component API and styles remain fully editable.
example.tsx
import { ToggleGroup, ToggleGroupItem } from "@/components/quack/toggle-group"
<ToggleGroup defaultValue={["bold"]}><ToggleGroupItem value="bold"><Bold /></ToggleGroupItem></ToggleGroup>