Basic pagination.
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: The stock pattern: labeled Previous and Next around 3 page links, with page 2 outlined as current
When to use
- Numbered page links between previous and next controls under a list, a table or search results
- Compact pagers of back and forward controls alone or beside a page count, for narrow spaces
- Table footers pairing page controls with a rows per page select, a range count or a page jump field
When not to use
- More pages than fit, with the rest folded behind a trailing ellipsis: use the Pagination Trailing Ellipsis example
- A records table that sorts and filters its rows and needs its pager built in: use the Data Grid component
- A whole table section with a title, toolbar, rows and a working pager: use the Base blocks
- Page controls kept in local state that run click handlers, with no URL per page: use the Button Group component
Agent notes
PaginationLinkrenders its own anchor and takes neitherrendernorasChild; swap that anchor for your router link in your copy of the component- Every
hrefis a hash placeholder and each page number, count and current page is typed in; derive them from your page state or URL
https://reui.io/components/pagination/c-pagination-1.mdget_example("c-pagination-1")npx shadcn@latest add @reui/c-pagination-1Shadcn Components in Pagination Basic
About Shadcn Pagination Basic
Basic pagination. Built with the Pagination component. A free, open source shadcn pagination example you can install with npx shadcn@latest add @reui/c-pagination-1 and edit as your own code.
What You Can Build With Shadcn Pagination Basic
- Composes Pagination, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-pagination-1
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Pagination Examples
- No Labels Pagination without labels.
- Hover Border Pagination with hover effect.
- Circle Buttons Pagination with circle buttons.
- Compact Go-To Pagination with go-to-page input
- In Card Numbered pagination in card
- Arrow Links Pagination with arrows buttons
- Centered Page Info Pagination with page info on center
- Left Page Info Pagination with page info on left
- Trailing Ellipsis Pagination with ellipsis indicator
- Outline Strip Pagination with outline style buttons
- Rows Per Page Rows per page select with range info and first/prev/next/last icons
- Page Select Pagination with page select dropdown and first/last navigation
Related Shadcn Component Categories
Open-source shadcn phone input components for international signup, contact forms, and country codes.
Open-source shadcn popover components for inline settings, contextual actions, and lightweight overlays.
Open-source shadcn progress components for upload progress, goal tracking, and setup steps.
Open-source shadcn questionnaire components for onboarding surveys, multi-step question flows, and guided feedback.
Open-source shadcn radio group components for single-choice forms, plan selection, and settings preferences.
Open-source shadcn rating components for product reviews, feedback forms, and satisfaction scores.
Frequently Asked Questions
When should I use Shadcn Pagination Basic?
Use it for the stock pattern: labeled Previous and Next around 3 page links, with page 2 outlined as current.
Shadcn Pagination as a whole fits:
- Numbered page links between previous and next controls under a list, a table or search results
- Compact pagers of back and forward controls alone or beside a page count, for narrow spaces
- Table footers pairing page controls with a rows per page select, a range count or a page jump field
For more pages than fit, with the rest folded behind a trailing ellipsis, use the Pagination Trailing Ellipsis example. For a records table that sorts and filters its rows and needs its pager built in, use the Data Grid component. For a whole table section with a title, toolbar, rows and a working pager, use the Base blocks. For page controls kept in local state that run click handlers, with no URL per page, use the Button Group component.
How do I install Shadcn Pagination Basic?
Is Shadcn Pagination Basic free to use?
Which components does Shadcn Pagination Basic use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.