9:41
Props
| Prop | Type | Default |
|---|---|---|
| options Equal-width segments; icon is a node shown before the label. | (string | { value, label, icon? })[] | — |
| value / onChange Controlled selection (or use defaultValue). Fires on tap and on release after a drag. | string / (value) => void | — |
| defaultValue Initial selection when uncontrolled. | string | first segment |
| size 32 / 40pt tall. | 'sm' | 'md' | 'md' |
| scheme Force light or dark glass and ink, e.g. over a photo. | 'light' | 'dark' | kit theme |
| accent Selection colour: fills the thumb; the label switches to black or white to stay readable. | string | glass ink (black / white) |
| haptics Selection tick on change and while dragging across segments. | boolean | true |
| accessibilityLabel Label for the whole control (tablist; each segment is a tab with selected state). | string | — |
| style Style for the glass track. | StyleProp<ViewStyle> | — |
| className Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides. | string | — |
Behaviour & accessibility
- Touch
- Tap a segment, or press the thumb and drag it across. It follows your finger and snaps to the nearest segment on release.
- Motion
- The thumb springs to the new segment, stretching in the direction of travel before it settles. It lifts slightly while you drag it.
- Reduced motion
- The thumb slides over in a short timing with no stretch, and does not lift when dragged.
- Haptics
- A selection tick on change and each time a drag crosses into another segment.
- Screen readers
- The control is a tablist and each segment a tab with its label and selected state.
- Platforms
- Built on Glass: real Liquid Glass on iOS 26, blurred or frosted glass elsewhere.
Source
FAQ
How do I make a liquid glass segmented control in React Native?
Use ExpoKit's Glass Segmented Control, a Pro component: with ExpoKit Pro, the ExpoKit CLI copies a ready-made liquid glass segmented control into your Expo or React Native app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.
Does Glass Segmented Control work in Expo Go?
Yes. Glass Segmented Control runs in Expo Go on iOS and Android with no development build — its packages (
expo-glass-effect, expo-blur, react-native-svg, expo-haptics) are all included in Expo Go.How do I add Glass Segmented Control to my Expo app?
With ExpoKit Pro, add it with the ExpoKit CLI: it copies the component's source into your app and installs
expo-glass-effect, expo-blur, react-native-svg, expo-haptics, so the code is yours to change. The install command is on this page for Pro members.Is Glass Segmented Control free?
Glass Segmented Control is part of ExpoKit Pro. With a Pro plan, log the CLI in once (
npx @expokit/cli@latest login) and it installs the full source into your app.