NeumorUINeumorUI
📖📦
Form

SegmentedControl

iOS-style segmented toggle with sliding neumorphic indicator, icon support, and fullWidth mode.

tsx
1import { SegmentedControl } from "neumorui";

Example

value
defaultValue
size
fullWidth
disabled

Props

PropTypeDefault
optionsSegmentOption[][]
valuestring-
defaultValuestringfirst option
onChange(value: string) => void-
size"sm" | "md" | "lg""md"
fullWidthbooleanfalse
disabledbooleanfalse