Navigation

Pagination API

Pagination links paged content, CMS lists, and docs indexes with accessible current/disabled states.

Preview

Import

import { Pagination } from "@axonyx/react";

Props

PropTypeDefaultDescription
itemsPaginationItem[]requiredPage links and states.
labelstring"Pagination"Accessible nav label.
item.currentbooleanfalseMarks current page.
item.disabledbooleanfalseDisables page item.

CSS contract

.ax-pagination
[data-current]
[data-disabled]