Button Group
Attaches a row or column of buttons into one segmented unit.
Import
tsx
import { ButtonGroup } from "@cooud-ui/ui";
bash
npx cooud-ui add button-group
Examples
API Reference
Generated from the component's exported types.
ButtonGroupProps
Extends HTMLAttributes<HTMLDivElement>
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | "horizontal" | "vertical" | "horizontal" | Layout direction of the grouped buttons. |