Pagination
Apple 27 Button-based paginator with an accent capsule for the active page, ghost buttons for other pages, and 44px mobile ↔ 32px desktop touch targets.
Fully compatible with the standard shadcn/ui JSX API (Pagination / PaginationContent / PaginationItem / PaginationLink / PaginationPrevious / PaginationNext / PaginationEllipsis):
- Page pills: Active page renders with
default(solid theme accent with bold white digits), while other pages useghostborderless buttons. - Touch targets: Inherits
Button'siconsizing—44px on mobile ↔ 32px on desktop. - Built-in i18n: Resolves
Previous/Nextlabels automatically from<LiquidGlassProvider locale={lang}>(12 mainstream languages), or override with thetextprop.
Installation (Shadcn Registry)
npx shadcn@latest add @apple-liquid/paginationUsage
import {
Pagination,
PaginationContent,
PaginationItem,
PaginationLink,
PaginationNext,
PaginationPrevious,
} from '@/components/ui/pagination';
export function Example() {
return (
<Pagination>
<PaginationContent>
<PaginationItem>
<PaginationPrevious href="#" />
</PaginationItem>
<PaginationItem>
<PaginationLink href="#" isActive>
1
</PaginationLink>
</PaginationItem>
<PaginationItem>
<PaginationNext href="#" />
</PaginationItem>
</PaginationContent>
</Pagination>
);
}Language & Text
Pagination accepts locale and messages, which apply to all of its parts and the overlays it opens and win over the global <LiquidGlassProvider locale messages>. To override the text globally, put it under messages.pagination on the provider. See Liquid Glass → Global settings.
| Prop | Type | Description |
|---|---|---|
locale | LiquidGlassLocaleInput | UI language of this component (any BCP 47 tag; unsupported ones fall back to English) |
messages | Partial<PaginationMessages> | Text overrides, merged over the built-in text and the global messages.pagination |
| Key | Built-in text (English) |
|---|---|
label | Pagination |
previous | Previous |
next | Next |
morePages | More pages |
NavigationMenu
Responsive Apple Liquid Glass floating capsule navigation bar with adaptive-size Liquid Glass popovers and directional transitions on desktop, automatically switching to an iOS 27 bottom Liquid Glass Drawer on mobile.
Popover
Responsive Apple Liquid Glass popover displaying a 20px-radius floating macOS 27 Liquid Glass panel on desktop, and automatically switching to a swipe-to-dismiss iOS 27 bottom Liquid Glass Sheet on mobile.