Getting Started
Foundations
Components
Search for a command to run...
Pagination helps users navigate through large sets of data by breaking content into manageable pages. It provides clear navigation controls and indicates the current page position within the total set.
import { Pagination } from "@strongtie/design-system/pagination"This module exports the following components:
PaginationPaginationContentPaginationEllipsisPaginationItemPaginationLinkPaginationNextPaginationPrevious<PaginationLink>| Prop | Type | Default | Description |
|---|---|---|---|
isActive | boolean | - | |
size | "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | icon |
<PaginationNext>| Prop | Type | Default | Description |
|---|---|---|---|
isActive | boolean | - | |
size | "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | default |
<PaginationPrevious>| Prop | Type | Default | Description |
|---|---|---|---|
isActive | boolean | - | |
size | "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | default |
Components can be styled using the className prop. The design system uses Tailwind CSS for styling.
CSS classes used by this component:
paginationpagination-contentpagination-ellipsispagination-itempagination-linkpagination-nextpagination-previousEnsure proper accessibility attributes are added when implementing this component.