SegmentedControl
Compact mode switcher / tab bar.
Loading…
Compact mode switcher / tab bar.
Loading…
Compact mode switcher — Manual/Presets, Adjust/Export, tool modes in a sidebar.
| Prop | Type | Default | Description |
|---|---|---|---|
| items | SegmentedControlItem[] | — | Tab options. |
| value | string | — | Active value. |
| onValueChange | (value: T) => void | — | Called on select. |
| size | "sm" | "md" | sm | Control size. |
| className | string | — | Optional CSS class. |
Also copy lib/utils.ts (cn helper):