Components › Actions
Button group
Buttons fused into one row, for ranges and paired actions.
Installation
npx plankui@latest add button-groupUsage
import { ButtonGroup } from "@/components/ui/button-group";
<ButtonGroup aria-label="Range">
<Button variant="secondary">Day</Button>
<Button>Week</Button>
</ButtonGroup>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| children | Button elements | The fused buttons. Inner corners square off automatically. |