# Pagination

文档页面底部的上一页/下一页链接 — 由侧边栏树驱动。

**Install:** `nimbus-docs add pagination`  
**Source:** `src/components/ui/pagination/`  
**Canonical:** https://nimbus-docs.cn/components/pagination/

## Agent payload (JSON)

```json
{
  "slug": "pagination",
  "name": "Pagination",
  "description": "Prev / next page navigation.",
  "tagline": "文档页面底部的上一页/下一页链接 — 由侧边栏树驱动。",
  "install": "nimbus-docs add pagination",
  "sourcePath": "src/components/ui/pagination/",
  "canonicalUrl": "https://nimbus-docs.cn/components/pagination/",
  "props": [
    {
      "name": "prevNext",
      "type": "{ prev?: { label: string; href: string }; next?: { label: string; href: string } }",
      "required": true,
      "description": "相邻页面引用。任一侧都可以省略（首页/末页）。"
    }
  ],
  "registryDependencies": [
    "cn"
  ],
  "dependencies": []
}
```
