Native link-based pagination structure without data ownership.
@combric/react · v1.1.1 · Current
Import and usage
import { Pagination, PaginationList, PaginationItem, PaginationLink, PaginationPrevious, PaginationNext } from "@combric/react";
Load the native stylesheet with @import "@combric/react/css";. This path does not require Tailwind.
Examples
Pagination
Public API
Public exports| Name |
|---|
Pagination |
PaginationList |
PaginationItem |
PaginationLink |
PaginationPrevious |
PaginationNext |
Documented contracts| Property / capability | Published contract |
|---|
| Contract | current |
|---|
| Contract | disabled |
|---|
| Contract | native anchor props |
|---|
Accessibility
Current links use aria-current; disabled links lose href and leave the tab order.
CSS and customization
Combric classes and canonical --combric-* variables provide the package presentation. Consumer className extends the required class; it does not replace the component contract.
Source
View source on GitHub