Skip to main content

Button Group

Demo

zeta-web v0.6.6
Web Components

Takes in Zeta Button Group Items as children and groups them by applying styling to them.

Does not render any other types of children.

Storybook

https://zeta-ds.web.app/web/storybook/index.html?path=/docs/button-group--docs

Slots

NameDescriptionType
defaultChildren must be of type zeta-group-button otherwise they will not be displayed.text

Attributes

NameDescriptionTypeDefault
sizeSize of button."medium" | "large""medium"

Inherited Attributes

NameDescriptionTypeDefaultInherited From
roundedWhether the component is rounded or sharp.When true, rounded will set the border radius of the first child, and any children with class 'contourable-target' to --radius-minimal.Otherwise, this value will be --radius-none.boolean | undefinedtrueContourable

Figma

https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=23116-95148