Skip to content
Theme

Pagination

Links to the pages of a long list.

Props

Pagination

Links to the pages of a long list.

PropTypeDefaultDescription
linkAs?ElementType"a"The component that renders links: a framework's client-side link, or a plain anchor. The system itself knows no router.
pagenumber—The current page, from 1.
pageCountnumber—
href(page: number) => string—The address of a page; every page is a real link, so it works without script and can be opened in a new tab.
label?string"Pagination"Names the navigation when a page has more than one.

Accessibility

  • Every page is a real link with an href, so it works without script.
  • The current page is aria-current; numbers are read as "Page 5".