pnpm dlx shadcn@latest add https://ui.saturation.io/r/page-navigation.jsonimport { PageNavigation } from "@/components/ui/page-navigation"<PageNavigation
prev={{ title: "Installation", href: "/docs/installation" }}
next={{ title: "Button", href: "/docs/components/button" }}
/>| Prop | Type | Default | Description |
|---|---|---|---|
prev | { title: string; href: string } | — | The previous page link. If not provided, the previous button is hidden. |
next | { title: string; href: string } | — | The next page link. If not provided, the next button is hidden. |
className | string | — | Additional CSS classes for the nav container. |
On This Page