Components•Pagination
Components•Pagination
Pagination
A page navigation control for moving through long result sets without losing context.
Dependencies
Copy below cli
npx shadcn add @bjork-ui/primitive-paginationHow to use
import { BjorkPagination } from "@/components/isaiahbjork/primitives";Props
classNamestringPass through styling hooks for the Pagination primitive without replacing the base Bjork surface.
childrenReactNodeComposable content, labels, icons, and nested content where the primitive supports them.
pagenumberTrack the active page and wire previous, next, or direct page changes to your data set.
Paged controls
Use below dense lists when scrolling alone is not enough.
<BjorkPagination />