← Design system

Pagination

Interactive examples and usage for the Pagination component.

Examples

Small

Props

PropTypeDefaultDescription
pagenumber1Current active page
totalPagesnumberrequiredTotal number of pages
onPageChange(page: number) => voidrequiredCallback when page changes
siblingsnumber1Number of sibling pages shown around the current page
showFirstLastbooleantrueShow first and last page buttons
size'sm' | 'md' | 'lg''md'Button size

Keyboard

KeyAction
TabFocus page buttons
EnterNavigate to the focused page