{
  "name": "section-header",
  "type": "ui:component",
  "title": "SectionHeader",
  "description": "Hairline-bordered section heading with title, description, and right-aligned action slot.",
  "dependencies": [],
  "registryDependencies": [
    "theme"
  ],
  "files": [
    {
      "path": "src/ui/section-header.tsx",
      "target": "src/ui/section-header.tsx",
      "sha256": "f82d168fdc5ee284a8b0f2138281b3aa509c3d903883da93c399fc1a94f42781",
      "content": "import './theme.css';\nimport { scope, type View } from '@fierst/blokd';\n\nconst shScope = scope`\n  :scope {\n    display: flex;\n    flex-wrap: wrap;\n    align-items: flex-end;\n    justify-content: space-between;\n    gap: 0.75rem;\n    padding-bottom: 0.75rem;\n    border-bottom: 1px solid var(--blokd-border);\n    font-family: var(--blokd-font-sans);\n  }\n  .sh-copy { display: grid; gap: 0.2rem; min-width: 0; }\n  .sh-title {\n    margin: 0;\n    font-size: 1rem;\n    font-weight: 600;\n    letter-spacing: -0.015em;\n    color: var(--blokd-on-surface);\n  }\n  .sh-desc { margin: 0; font-size: 0.84rem; color: var(--blokd-on-surface-muted); }\n  .sh-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }\n`;\n\nexport function SectionHeader({\n  title,\n  description,\n  actions,\n  class: extraClass,\n}: {\n  title: string;\n  description?: string;\n  actions?: View;\n  class?: string;\n}) {\n  return (\n    <div class={[shScope, extraClass].filter(Boolean).join(' ')}>\n      <div class=\"sh-copy\">\n        <h2 class=\"sh-title\">{title}</h2>\n        {description ? <p class=\"sh-desc\">{description}</p> : null}\n      </div>\n      {actions ? <div class=\"sh-actions\">{actions}</div> : null}\n    </div>\n  );\n}\n"
    }
  ]
}
