Inputs and selection

Segmented control

Available forNativeWeb

2–4 options, animated thumb

The native kit's real component, live in its web build at phone width. Follows this site's theme.

Usage

2–4 mutually exclusive options. For content panes use Tabs.

API

<SegmentedControl segments={[{value,label}]} value onChange />

Get it

Already in every copy of the native kit:

import { SegmentedControl } from '@/components/kit/segmented-control';

Details

Exports
SegmentedControl
Installs with
@kit-native/lib-haptics, @kit-native/lib-reduced-motion, @kit-native/lib-theme, @kit-native/lib-utils, @kit-native/text
Also searched as
segment, ios, switcher

Agents: the whole registry is at /llms.txt.