Skip to content

Segmented Control

iOS-style segmented option switcher.

Terminal window
npx github:truongnat/rnui#cli add segmented-control

or directly via the shadcn CLI:

Terminal window
npx shadcn add https://<registry-base>/r/nativewind/segmented-control.json # or /uniwind/
components/ui/segmented-control.tsx
// See the source file for the API:
  • components/ui/segmented-control.tsx

Installs together with: utils, text, theme