Cursor pager
Paging for lists that load in chunks.
- Component
- Radix
- Light and dark
- Keyboard friendly
- Updated last month
Paste this into your agent.
Add previous and next buttons for long lists to <the page you want it on>. Install it with: npx shadcn add @ollie/cursor-pager Handle onPrevious, onNext, onPageSizeChange and onFirst yourself; don't fetch inside the component. Keep the ocean theme tokens.
Other takes
More components
- Command PalettePress ⌘K to jump anywhere or do anything.
- Theme SwitcherA light and dark switch.
- Bulk action barActions for the rows you've ticked, in a bar that floats up.
- Page actionsA page's search and buttons, folded into a menu on phones.
- Keyboard shortcutsKeyboard shortcuts, and a ? screen that lists them.