Skip to main content
PROYECTOVIVIANA

ButtonGroup

The props declared for ButtonGroup, generated from the types @proyecto-viviana/ui ships.

Import

import { ButtonGroup } from "@proyecto-viviana/ui";

Props

Props for ButtonGroup in @proyecto-viviana/ui
PropTypeDefaultDescription
childrennumber | boolean | RenderedElement | ArrayElement | (string & {}) | Node | JSX.ArrayElement—The Buttons contained within the ButtonGroup.
orientation'horizontal' | 'vertical''horizontal'The axis the ButtonGroup should align with.
align'start' | 'end' | 'center''start'The alignment of the Buttons within the ButtonGroup.
size'S' | 'M' | 'L' | 'XL''M'The size of the Buttons within the ButtonGroup.
isDisabledfalse | true—Whether the Buttons in the ButtonGroup are all disabled.
stylesStyleString—Spectrum-defined generated classes.
UNSAFE_classNamestring—Additional CSS class name. Use only as a last resort.
UNSAFE_styleJSX.CSSProperties—Additional inline styles. Use only as a last resort.
isHiddenfalse | true—Not yet documented

Declared in packages/viviana-ui/src/buttongroup/index.tsx.

Props marked solidaria or solidaria-components come from the headless layer underneath and behave the same in both registers. Components that wrap a DOM element also accept that element's standard attributes, which are left out here on purpose — listing them would bury the props that are actually ours.