Props
| Prop | Type | Default | Notes |
|---|---|---|---|
label | string | '' | |
description | string | '' | |
orientation | vertical | horizontal | horizontal | |
required | boolean | false |
StellarUI
<stellar-checkbox-group
label="Things for the cats"
description="Select as few or as many as you'd like."
>
<stellar-checkbox label="Catnip" value="catnip"></stellar-checkbox>
<stellar-checkbox label="Food" value="food"></stellar-checkbox>
<stellar-switch label="Treats" value="treats"></stellar-switch>
</stellar-checkbox-group>Complete props, events, slots, and implementation notes for the shipped checkbox group.
| Prop | Type | Default | Notes |
|---|---|---|---|
label | string | '' | |
description | string | '' | |
orientation | vertical | horizontal | horizontal | |
required | boolean | false |
| Event | Source | Notes |
|---|---|---|
| custom events | none | stellar-checkbox-group does not emit custom events. |
| descendant events | native | Listen to grouped stellar-checkbox or stellar-switch children normally. |
| Slot | Notes |
|---|---|
| default | Grouped stellar-checkbox or stellar-switch children. |
label | Optional rich label content. Overrides the label prop when present. |
description | Optional helper content below the label. Overrides the description prop when present. |