{
  "name": "PaneTabsContext",
  "package": "@magicblocksai/ui",
  "file": "packages/ui/src/components/PaneTabs.tsx",
  "chapterTag": "23 Workspace",
  "chapter": "23-workspace.html",
  "sectionId": null,
  "elName": null,
  "demoUrl": null,
  "hasLiveDemo": false,
  "description": "Internal — shared between `PaneTabs` and `PaneTab`.",
  "useClient": true,
  "interactivity": "interactive",
  "namedExports": [
    {
      "name": "PaneTabs",
      "isPrincipal": false,
      "isType": false
    },
    {
      "name": "PaneTabsProps",
      "isPrincipal": false,
      "isType": true
    }
  ],
  "importStatement": "import { PaneTabsContext } from \"@magicblocksai/ui\";",
  "props": [
    {
      "name": "value",
      "optional": true,
      "type": "string",
      "doc": "Active tab value (controlled)."
    },
    {
      "name": "defaultValue",
      "optional": true,
      "type": "string",
      "doc": "Initial active tab value (uncontrolled)."
    },
    {
      "name": "onValueChange",
      "optional": true,
      "type": "(value: string) => void",
      "doc": "Fires with the next active tab value."
    },
    {
      "name": "children",
      "optional": false,
      "type": "ReactNode",
      "doc": "`PaneTab` children."
    }
  ],
  "classesUsed": [
    "ab-pane-tabs",
    "tab"
  ],
  "examples": {
    "react": null,
    "html": null,
    "css": ".ab-pane-tabs {\n  display: flex; gap: var(--s-5);\n  margin: var(--s-4) calc(var(--s-6) * -1) 0;\n  padding: 0 var(--s-6);\n  border-bottom: 1px solid var(--hair);\n}\n\n.tab {\n  appearance: none; background: transparent; border: 0;\n  padding: 12px var(--s-4) 14px;\n  font: 500 13.5px/1 var(--f-body); color: var(--fg-dim);\n  cursor: pointer;\n  position: relative; white-space: nowrap;\n  transition: color var(--dur-2) var(--ease);\n  display: inline-flex; align-items: center; gap: var(--s-2);\n}"
  }
}
