Components / Actions
ButtonGroup
Joins buttons into one segmented bar, horizontal or vertical.
@ruckc/truss-ui Actions
Import
import { ButtonGroup } from '@ruckc/truss-ui'; Playground
count
variant
API
| Prop | Type | Default | Description |
|---|---|---|---|
vertical | boolean | false | Stack vertically instead of horizontally. |
fill | boolean | false | Stretch to fill the available width. |
children required snippet | Snippet | — | Content, as a Svelte snippet. |