Components · Interactive
Tab-style control for mutually exclusive selections.
import { Segmented Control } from '@nexub/react';| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| size | 'sm' | 'md' | 'lg' | 'md' | — | Size of the segmented control. |
| value | string | — | — | The controlled selected value. |
| defaultValue | string | — | — | The initial selected value when uncontrolled. |