Skip to content
Compact pager, light
Light
Compact pager, dark
Dark

Every state

  • Compact pager, default, light
    Compact pager, default, dark

    default

  • Compact pager, hover, light
    Compact pager, hover, dark

    hover

  • Compact pager, focus, light
    Compact pager, focus, dark

    focus

  • Compact pager, field-focus, light
    Compact pager, field-focus, dark

    field-focus

  • Compact pager, invalid, light
    Compact pager, invalid, dark

    invalid

  • Compact pager, first, light
    Compact pager, first, dark

    first

  • Compact pager, last, light
    Compact pager, last, dark

    last

  • Compact pager, many, light
    Compact pager, many, dark

    many

Props

PropTypeDefaultWhat it does
labelstring"Invoices, pages"Names the nav for screen readers.
pagenumber3The page you are on, from 1.
pageCountnumber21Page count.
hrefstring"?page={page}"Link of a page, with {page} filled in ("/invoices?page={page}"). Used when hrefFor is left out.
hrefFor(page: number) => string–Link of a page, when a template is not enough.
onPageChange(page: number) => void–Called with the page to go to, from the arrows' clicks and the field. Left out: the browser follows the link.
localestring"en-GB"Formats the page numbers (BCP 47).
pageTextstring"Page {page} of {count}"{page} and {count} are filled in.
prevLabelstring"Previous page"Prev label.
nextLabelstring"Next page"Next label.
jumpLabelstring"Go to"Jump label.
goLabelstring"Go"Go label.
errorTextstring"Enter a page from 1 to {count}"Said when the number is not a page. {count} is filled in.
classNamestring–Extra classes on the outer element.

More pagers

All 4
pager-01 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans