[?] Component size, gzipped: 189kb

Pagination

Loading
Beta

Divide content into separate pages.

When to use

  • When the user will be searching for information rather than scanning.
  • When the user must maintain a sense of position amongst the paginated elements.

Accessibility

  • Tab moves focus among the focus-able elements (button, dropdown)
  • Escape closes the dropdown once opened
  • Up / Down Arrow Keys are used to navigate the options in the dropdown

Examples

Pagination Controlled example

of 20

Pagination Uncontrolled example

of 10

Pagination with Custom Labels

out of 10

Pagination with Overrides

of 10

Pagination exports

You can import this module like so:

import {Pagination} from 'baseui/pagination'

It exports the following components or utility functions:

  • Pagination
  • StatefulPagination
  • StatefulContainer
  • StyledRoot
  • StyledMaxLabel
  • StyledDropdownContainer
  • STATE_CHANGE_TYPE