{
  "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": "b034d82d1c912dec50ba5d8c6a9b6b7a7406a5717a2b16f3d651492aec9e3472",
      "content": "import './theme.css';\nimport { scope, type View } from '@fierst/aster';\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(--aster-border);\n    font-family: var(--aster-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(--aster-on-surface);\n  }\n  .sh-desc { margin: 0; font-size: 0.84rem; color: var(--aster-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"
    }
  ]
}
