Pagination
Page navigation with siblings + ellipsis.
Install
Section titled “Install”npx github:truongnat/rnui#cli add paginationor directly via the shadcn CLI:
npx shadcn add https://<registry-base>/r/nativewind/pagination.json # or /uniwind/npm dependencies installed automatically: lucide-react-native
const [page, setPage] = useState(1);<Pagination page={page} totalPages={10} onPageChange={setPage} />Source
Section titled “Source”components/ui/pagination.tsx
Installs together with: utils, text, theme