Skip to content

Carousel

Snap-scrolling horizontal pager with optional arrows.

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

or directly via the shadcn CLI:

Terminal window
npx shadcn add https://<registry-base>/r/nativewind/carousel.json # or /uniwind/

npm dependencies installed automatically: lucide-react-native

components/ui/carousel.tsx
// See the source file for the API:
  • components/ui/carousel.tsx

Installs together with: utils, theme