Preview
Usage
ToggleGroup usage<ToggleGroup label="Cadence" name="cadence" type="single" options={options} />API
ToggleGroup APIToggleGroupProps
| prop | type | notes |
|---|---|---|
| label | string | |
| name | string | |
| options | ToggleGroupOption[] | |
| type | 'single' | 'multiple' | |
| defaultValue? | string | string[] | |
| orientation? | 'row' | 'stack' | |
| size? | 'sm' | 'md' | |
| hint? | RemixNode | |
| error? | string | null | |
| required? | boolean | Marks the native radio group required. Ignored when `type` is `multiple`. |
| disabled? | boolean | |
| mix? | MixInput |