# Tabs

Tabbed content panels — Starlight-compatible authoring, optional cross-instance sync via syncKey.

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

## Agent payload (JSON)

```json
{
  "slug": "tabs",
  "name": "Tabs",
  "description": "Tabbed content panels (manual + Starlight-compatible modes).",
  "tagline": "Tabbed content panels — Starlight-compatible authoring, optional cross-instance sync via syncKey.",
  "install": "nimbus-docs add tabs",
  "sourcePath": "src/components/ui/tabs/",
  "canonicalUrl": "https://nimbus-docs.com/components/tabs/",
  "props": [
    {
      "name": "syncKey",
      "type": "string",
      "required": false,
      "description": "Tabs instances with the same syncKey mirror selection across the page via localStorage."
    },
    {
      "name": "label",
      "type": "string",
      "required": true,
      "description": "TabItem prop. Read by the client to synthesise the matching trigger button."
    }
  ],
  "registryDependencies": [
    "cn"
  ],
  "dependencies": []
}
```
