# Button Group

The Button Group component allows a more compact ui for radio buttons.

The Button Group component utilizes several props to determine the form and function of a Button Group instance. Refer to the following examples for appropriate syntax and usage.

# Usage

Group a series of buttons together on a single line with the button group.

# Setting Default Button

Set a default button within a button group.

# Disabled

Add the disabled attribute to disable clicks to the button group and give it a disabled appearance.

# Capture update event

Capture the @update event in the button group

# Props

Name Type Default Description
value String N/A The value of the selected CiButtonGroupItem.
disabled Boolean false Disables the button group.

# Slots

The button grup component uses the default slot to render a series of buttons together.

Slot Description
default Renders a series of buttons in a single line.

# Events

Name Description
@input Emitted when the selected button group item is changed.
@update Emitted when the selected button group item is changed.
Last Updated: 7/5/2024, 3:55:51 PM