Toggle group
A group of toggle buttons.
Multiple
Vertical
Disabled
Sizes
Segmented
API reference
bui-toggle-group
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
type | "multiple" | "single" | 'single' | Selection mode: single value or an array of values. |
orientation | "horizontal" | "vertical" | 'horizontal' | Layout direction of the group. |
Two-way models
Bind with [(name)], or one-way as an input.
| Prop | Type | Default | Description |
|---|---|---|---|
value | ToggleValue | null | Selected value(s). Two-way bindable with `[(value)]`. |
button[buiToggleGroupItem]
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | '' | Value this item contributes to the parent group's selection. |
disabled | boolean | false | Whether this item is disabled. |
Types
ToggleValue
string | string[] Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.