Component docs
Loading
import { ButtonGroup } from "@pixxl-tools/components";
// In Server Components:
import { ButtonGroup } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
attached | boolean | — | — |
orientation | "horizontal" | "vertical" | — | Layout and arrow-key axis. |
attachedboolean
orientation"horizontal" | "vertical"
Layout and arrow-key axis.
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<ButtonGroup>...</ButtonGroup>