Tabs
Switch between related content in the same context.
Move through a long collection with clear bounds.
npx shadcn@latest add @silicon-ui/paginationnpx shadcn@latest add @silicon-ui/paginationInstall the dependencies.
npm install lucide-react motionCopy these files into your project. Shared files are skipped if you already have them.
components/silicon-ui/pagination/pagination.tsxcomponents/silicon-ui/pagination/pagination.module.cssInstall the foundation once per app for the design and motion tokens: npx shadcn@latest add @silicon-ui/silicon-foundation
| Prop | Type | Default |
|---|---|---|
page* | number | — |
pageCount* | number | — |
onPageChange* | (page: number) => void | — |
label | string | "Pagination" |