Genesis
@beta

NativeSegmentedControl

SegmentedControl — iOS-style horizontal segmented picker. Use for 2-5 mutually exclusive options that fit on one line. For more than 5, prefer <NativeTabs> or <NativeSelect>. Renders an Android- acceptable filled-pill variant; the visual remains compact on both platforms.

packages/ui-native/src/components/segmented-control.tsx

Import
Subpath export: @marktiderman/genesis-ui-native
import { NativeSegmentedControl } from "@marktiderman/genesis-ui-native";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

NativeSegmentedControl

PropTypeDefaultDescription
onChange*(value: T) => void—
options*NativeSegmentedControlOption<T>[]—
value*T—
classNamestring—
disabledboolean—Disable the entire control.
testIDstring—