Pagination
Links between the pages of a long list.
When to use
- Use when
- Moving through pages of results when position matters, such as tables.
- Avoid when
- People scan a feed; load more as they scroll instead.
Installation
The source lands in src/components/ui/pagination.tsx, along with any Shelf items it builds on, and .shelf/lock.json records what was installed. It's yours to edit.
Usage
Built on
- Packages
@stylexjs/stylex- Figma
- Optional native Figma library. See Designers.
Verified
- Size
- 1.0 kB gzipped on its own, 6.5 kB with the Shelf items and packages it builds on. JS and CSS in a production build, without React.
- Accessibility
- Axe passes on 1 story
- Behavior
- 1 interaction test in Storybook
- React Doctor
- React Doctor finds nothing