Pagination
Moves between pages of a list or table. Stock Mantine Pagination, with a
hover border added to every control so the whole strip reads as interactive
before a click lands.
Usage
<Pagination total={10} defaultValue={1} />
Props
Only what this design system changes. Everything else is Mantine's — read the full props table there.
| Property | Type | Allowed values | Default | Description |
|---|---|---|---|---|
| Hover | — | — | — | Not a prop. Every control — page-number items and the next/previous/first/last buttons alike, Mantine's shared control selector — grows an accent border on hover: border-color: var(--mantine-color-primary). |
| Active page | — | — | — | Not a prop. Excluded from the hover rule (:not([data-active])), so its own filled style is not fought by a border colour underneath it. |
| Disabled | — | — | — | Not a prop. Also excluded (:not([data-disabled])), so disabled controls stay visually inert. |
Accessibility
Pagination controls render as native <button> elements, so Tab and
Enter/Space work without extra wiring. Mantine does not add an
aria-label to the root on its own — if this is the page's primary paging
control, wrap it in a labeled landmark, e.g.
<nav aria-label="Sidenavigering"><Pagination ... /></nav>.
The hover border is the only non-text signal this override adds; it sits on top of Mantine's own active/disabled treatment rather than replacing it, so those states stay distinguishable without relying on the accent border alone.