4.2.0
CorePagination

Pagination API

Every prop of the 7 parts Pagination exports, generated from the package manifest.

import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from '@oceanic-hub/brand-system'
Layer
core — shadcn-derived primitives.
Exports
Pagination · PaginationContent · PaginationEllipsis · PaginationItem · PaginationLink · PaginationNext · PaginationPrevioustypes: PaginationLinkProps · PaginationProps
Variants
  • size: icon | icon-lg | icon-sm | lg | md | sm
  • size: icon | icon-lg | icon-sm | lg | md | sm
  • size: icon | icon-lg | icon-sm | lg | md | sm
Contract
packages/brand-system/src/components/pagination.contract.test-d.ts
Demos
6 on the Pagination page — rendered live, hydrated
Source
packages/brand-system/src/components/pagination.tsx

Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Pagination is for, how it composes and what it looks like, see Pagination.

Pagination

A styled <nav> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

PaginationContent

A styled <ul> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

PaginationEllipsis

A styled <span> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

PaginationItem

A styled <li> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

PaginationLinkProps

Prop

Type

Also accepts everything from React.ComponentPropsWithoutRef<'a'>, Pick<ButtonProps, 'size'>.

PaginationNext

React.ComponentPropsWithoutRef<typeof PaginationLink>

Prop

Type

Also accepts everything from React.ComponentPropsWithoutRef<typeof PaginationLink>.

PaginationPrevious

React.ComponentPropsWithoutRef<typeof PaginationLink>

Prop

Type

Also accepts everything from React.ComponentPropsWithoutRef<typeof PaginationLink>.

On this page