Skip to content
nexubDesign System
v2.4.0

Components · Interactive

Segmented Control

StableSince v0.0.1

Tab-style control for mutually exclusive selections.

import { SegmentedControl } from '@nexub/react';

Examples

Default

Sizes

Props

Props
PropTypeDefaultDescription
size'sm' | 'md' | 'lg''md'Size of the segmented control.
valuestring—The controlled selected value.
defaultValuestring—The initial selected value when uncontrolled.