{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "section-header",
  "type": "registry:ui",
  "title": "Section header",
  "description": "Tailwind section header with a title, optional muted description and a right-aligned actions slot that wraps on narrow screens. Use it above cards and tables.",
  "dependencies": [],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/section-header.tsx",
      "type": "registry:ui",
      "target": "components/ui/section-header.tsx",
      "content": "\"use client\"\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nfunction SectionHeader({\n  title,\n  description,\n  actions,\n  className,\n}: {\n  title: React.ReactNode\n  description?: React.ReactNode\n  actions?: React.ReactNode\n  className?: string\n}) {\n  return (\n    <div data-slot=\"section-header\" className={cn(\"mb-3 flex flex-wrap items-end justify-between gap-3\", className)}>\n      <div className=\"min-w-0\">\n        <h2 className=\"text-lg font-medium tracking-[-0.014em] text-fg\">{title}</h2>\n        {description ? <p className=\"mt-1 text-sm text-fg-muted\">{description}</p> : null}\n      </div>\n      {actions ? <div className=\"flex shrink-0 items-center gap-2\">{actions}</div> : null}\n    </div>\n  )\n}\nexport { SectionHeader }\n"
    }
  ]
}
