GitHub

Pagination

Page navigation controls

Basic Usage

Loading...

Installation

pnpm add @corew500/ui

Usage

import { Pagination } from "@corew500/ui/pagination"

<Pagination>Content</Pagination>

API Reference

Accessibility

Screen Readers

  • - Uses nav element with role="navigation"
  • aria-label="pagination" for screen reader identification
  • aria-current="page" on active link
  • Previous/Next buttons have aria-label for screen readers
  • Ellipsis is aria-hidden with sr-only text

Localization

Translatable Content

  • Override content by passing children to customize labels

Additional

  • - PaginationPrevious/PaginationNext show "Previous"/"Next" on larger screens

Related

Related Components