v0.1 public beta early access on GitHub
Home / Components / segmented-control

Segmented ControliOS

iOS 26 segmented picker — glass capsule track with a gliding liquid indicator pill, spring motion + haptics

$ npx lumioui add segmented-control
import { SegmentedControl } from "@/components/ui/segmented-control/segmented-control";
Props8
options string[] | SegmentedControlOption[] Options to display. Can be string[] or SegmentedControlOption[].
value string Currently selected value.
onValueChange (value: string) => void
disabled? boolean Disable all segments. Default false.
className? string Extra classes for the container.
haptic? "selection" | "light" | false Haptic feedback on segment change. Default "selection".
size? "sm" | "md" Density — "sm" compresses rows for toolbars and card headers.
glass? boolean iOS 26 liquid treatment — the track becomes a glass capsule and the gliding indicator a raised glass pill that refracts what's beneath.
Segmented Control — Liquid capsuleglass.tsx
segmented-control/variants/glass.tsx open

iOS 26 segmented picker — glass capsule track with a gliding liquid indicator pill, spring motion + haptics

Segmented Control — Objectsobjects.tsx
segmented-control/variants/objects.tsx open

iOS 26 segmented picker — glass capsule track with a gliding liquid indicator pill, spring motion + haptics

Segmented Control — Stringsstrings.tsx
segmented-control/variants/strings.tsx open

iOS 26 segmented picker — glass capsule track with a gliding liquid indicator pill, spring motion + haptics