Skip to content

ButtonGroup API

API reference docs for the Stash ButtonGroup component. Learn about the props, CSS, and other APIs of this exported module.

Import

ts
import ButtonGroup from '@leaflink/stash/ButtonGroup.vue';

Props

NameTypeDefaultDescription
optionsArray-The list of buttons to render
allowDeactivatebooleanfalseWhether the active button can be deactivated
disabledbooleanfalseWhether the entire group should be disabled
fullWidthbooleanfalseWhether the group should expand to the parent's width
groupNamestring 'uniqueId()' A name for the group, useful when multiple ButtonGroups exist on the page

Slots

None

Events

NameDescription
input