Skip to Content
DocsForm InputsToggle Group

Toggle Group

A set of two-state buttons that can be toggled on or off.

Multiple select

Icons

Variants

Component props

ToggleGroup

NameTypeDescription
labelstringLabel text displayed above the group
selectionModeSelectionMode"single" | "multiple" (default: "single")
valuestring[]Controlled selected values
defaultValuestring[]Default selected values
variantToggleGroupVariant"primary"
onChange(value: string[]) => voidCalled when selection changes

ToggleGroupItem

NameTypeDescription
idstringUnique item identifier (required)
isDisabledbooleanDisables the item