Button
ButtonGroup
Buttons that belong together, joined into one named control, each keeping its own tab stop.
WAI-ARIA tested
Import
main.ts
import { ButtonGroup } from '@vitral/vue';Basic
Outlined and secondary
Vertical
API
Read from packages/vue/src/components/ButtonGroup/types.ts, so it says what the component actually accepts.
Props
| Name | Type | Description |
|---|---|---|
| orientation | 'horizontal' | 'vertical' | Side by side (the default) or stacked. |
Plus pt, dt and unstyled from BaseProps, see pass-through and unstyled mode.
Slots
| Name | Slot props | Description |
|---|---|---|
| default | — | — |