Pagination
A row of pages to jump between, with previous / next. The current page is marked by `aria-current="page"`, not by a class. With `edges`, the first and last pages stay and far ones fold into a gap. Three variants draw the same pages differently: dots, bars, count.
| Class | Effect | Type |
|---|---|---|
.pagination | A row of pages to jump between, with previous / next. The current page is marked by `aria-current="page"`, not by a class. With `edges`, the first and last pages stay and far ones fold into a gap. Three variants draw the same pages differently: dots, bars, count. | root |
.pagination-dots.pagination-bars.pagination-count | Sets variant, one class per value.
| axis variant |
.pagination-primary.pagination-neutral.pagination-info.pagination-success.pagination-warning.pagination-error | Sets color, one class per value. | axis color |
.pagination-xs.pagination-sm.pagination-md.pagination-lg.pagination-xl | Sets size, one class per value. | axis size |
.pagination-gap | The “…” standing for pages that are not drawn. | part |
.pagination-item | One page, or a previous / next control. | part |
.pagination-number | The number inside a page; a new one on every change, so a family can animate it. The row carries `data-direction="next | previous"` after a move. | part |
.pagination-text | The “3 / 8” of the count variant. | part |