Skip to content

ButtonGroup - CSS Component

The ButtonGroup component can be used imported from:

Playground

Construction

The CSS component uses the <section> tag with the z-button-group HTML custom attribute.

z-button-group

The z-button-group parameter is the main parameter used to render the button group component.

INFO

Each button inside the z-button-group container should contain a button component with the z-button HTML custom attribute.

Check the button component documentation to customize the button.

Browser support

Detected engine:  

  • Chromium

  • Webkit

  • Gecko

HTML Examples

CodeSandbox example