{
  "name": "page-header",
  "type": "ui:component",
  "title": "PageHeader",
  "description": "Classic Tailwind UI page title header with breadcrumb/eyebrow slot, description, metadata row, and actions.",
  "dependencies": [],
  "registryDependencies": [
    "theme"
  ],
  "files": [
    {
      "path": "src/ui/page-header.tsx",
      "target": "src/ui/page-header.tsx",
      "sha256": "e36cf33585c3bb3fc53ac9151f3cae47196c17eb0de56d1d067e916ac81a1edc",
      "content": "import './theme.css';\nimport { scope, type View } from '@fierst/aster';\n\nconst phScope = scope`\n  :scope {\n    display: flex;\n    flex-direction: column;\n    gap: 0.75rem;\n    padding-bottom: 1.15rem;\n    border-bottom: 1px solid var(--aster-border);\n    font-family: var(--aster-font-sans);\n  }\n  .ph-row {\n    display: flex;\n    flex-direction: column;\n    gap: 0.85rem;\n  }\n  @media (min-width: 720px) {\n    .ph-row {\n      flex-direction: row;\n      align-items: flex-start;\n      justify-content: space-between;\n    }\n  }\n  .ph-main { display: grid; gap: 0.3rem; min-width: 0; }\n  .ph-eyebrow {\n    font-size: 0.75rem;\n    font-weight: 600;\n    text-transform: uppercase;\n    letter-spacing: 0.05em;\n    color: var(--aster-primary);\n  }\n  .ph-title {\n    margin: 0;\n    font-family: var(--aster-font-display);\n    font-size: clamp(1.35rem, 3vw, 1.75rem);\n    font-weight: 700;\n    letter-spacing: -0.025em;\n    color: var(--aster-on-surface);\n    line-height: 1.2;\n  }\n  .ph-desc {\n    margin: 0;\n    font-size: 0.875rem;\n    color: var(--aster-on-surface-muted);\n    max-width: 65ch;\n  }\n  .ph-meta {\n    display: flex;\n    flex-wrap: wrap;\n    align-items: center;\n    gap: 0.5rem 1rem;\n    margin-top: 0.25rem;\n    font-size: 0.8125rem;\n    color: var(--aster-on-surface-muted);\n  }\n  .ph-actions {\n    display: flex;\n    flex-wrap: wrap;\n    align-items: center;\n    gap: 0.5rem;\n    flex-shrink: 0;\n  }\n`;\n\nexport function PageHeader({\n  title,\n  description,\n  eyebrow,\n  breadcrumb,\n  meta,\n  actions,\n  class: extraClass,\n}: {\n  title: string;\n  description?: string;\n  eyebrow?: string;\n  breadcrumb?: View;\n  meta?: View;\n  actions?: View;\n  class?: string;\n}) {\n  return (\n    <header class={[phScope, extraClass].filter(Boolean).join(' ')}>\n      {breadcrumb ?? null}\n      <div class=\"ph-row\">\n        <div class=\"ph-main\">\n          {eyebrow ? <span class=\"ph-eyebrow\">{eyebrow}</span> : null}\n          <h1 class=\"ph-title\">{title}</h1>\n          {description ? <p class=\"ph-desc\">{description}</p> : null}\n          {meta ? <div class=\"ph-meta\">{meta}</div> : null}\n        </div>\n        {actions ? <div class=\"ph-actions\">{actions}</div> : null}\n      </div>\n    </header>\n  );\n}\n"
    }
  ]
}
