Skip to content

Slider

PanResponder slider — no gesture-handler dep.

Terminal window
npx github:truongnat/rnui#cli add slider

or directly via the shadcn CLI:

Terminal window
npx shadcn add https://<registry-base>/r/nativewind/slider.json # or /uniwind/
const [v, setV] = useState(50);
<Slider value={v} onValueChange={setV} min={0} max={100} />
  • components/ui/slider.tsx

Installs together with: utils, theme