{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "page-header",
  "type": "registry:component",
  "title": "Page header",
  "description": "A consistent place for page titles and primary actions.",
  "categories": [
    "layout"
  ],
  "dependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "src/registry/overtrue/page-header.tsx",
      "type": "registry:component",
      "target": "components/overtrue/page-header.tsx",
      "content": "import type { ReactNode } from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nexport function PageHeader({\n  eyebrow,\n  title,\n  description,\n  actions,\n  className,\n}: {\n  eyebrow?: string;\n  title: string;\n  description?: string;\n  actions?: ReactNode;\n  className?: string;\n}) {\n  return (\n    <header\n      data-slot=\"page-header\"\n      className={cn(\n        \"flex flex-wrap items-end justify-between gap-x-6 gap-y-4\",\n        className,\n      )}\n    >\n      <div\n        data-slot=\"page-header-heading\"\n        className=\"min-w-0 transition-[opacity,translate] duration-700 ease-[cubic-bezier(0.22,1,0.36,1)] motion-safe:starting:translate-y-1 motion-safe:starting:opacity-0 motion-reduce:transition-none\"\n      >\n        {eyebrow && (\n          <p\n            data-slot=\"page-header-eyebrow\"\n            className=\"m-0 mb-2 flex items-center gap-2 text-[13px] leading-5 font-medium text-muted-foreground\"\n          >\n            <span\n              aria-hidden=\"true\"\n              className=\"size-1.5 shrink-0 rounded-full bg-primary shadow-[0_0_0_3px_color-mix(in_oklab,var(--color-primary)_16%,transparent)] dark:shadow-[0_0_0_3px_color-mix(in_oklab,var(--color-primary)_22%,transparent),0_0_10px_color-mix(in_oklab,var(--color-primary)_60%,transparent)]\"\n            />\n            {eyebrow}\n          </p>\n        )}\n        <h1 className=\"m-0 text-2xl leading-8 font-semibold tracking-[-0.025em] text-balance text-foreground\">\n          {title}\n        </h1>\n        {description && (\n          <p className=\"m-0 mt-1.5 max-w-3xl text-sm leading-6 text-pretty text-muted-foreground\">\n            {description}\n          </p>\n        )}\n      </div>\n      {actions && (\n        <div\n          data-slot=\"page-header-actions\"\n          className=\"flex flex-wrap items-center gap-2\"\n        >\n          {actions}\n        </div>\n      )}\n    </header>\n  );\n}\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/components/page-header. Requires an initialized shadcn/ui project with Tailwind CSS v4."
}
