Skip to content

ButtonGroup ⚠️ Experimental

The ButtonGroup component can be used imported from:

Playground

Parameters

Events

This component has events. Check the documentation about how to use the events.

NamePayloadDescription
@clicknumber

Slots

This component has slots. Check the documentation about how to use the slots.

NameTagsDescription
defaultspanSlots for buttons

Parameters use

Check the documentation about how to use the parameters.

Buttons

We can use <z-button> tags to define the buttons inside the group:

Button 1DislikeLike

config

The config parameter is a string that defines the button group configuration. You can configure the type and the size of the buttons inside the group.

DislikeLike

Browser support

Detected engine:  

  • Chromium

  • Webkit

  • Gecko

CodeSandbox example

Sorry, not available yet ☹️