{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The page heading: a title, a one-line summary and the action buttons on the right (below on phones).",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n/** The page heading: a title, a one-line summary and the action buttons on the right (below on phones). */\nimport { type JSX } from \"solid-js\";\nimport { Box, Text, Title } from \"../compose\";\n\nexport type PageHeaderProps = {\n  title: string;\n  summary?: string;\n  id?: string;\n  actions?: JSX.Element;\n};\n\nexport function PageHeader({ title, summary, id, actions }: PageHeaderProps) {\n  return (\n    <Box\n      class=\"flex flex-col items-start gap-4 md:flex-row md:items-center md:justify-between\"\n      data-slot=\"page-header\"\n    >\n      <Box class=\"flex min-w-0 flex-col gap-2\">\n        <Title as={1} size=\"xl\" weight=\"bold\" class=\"m-0\" id={id}>\n          {title}\n        </Title>\n        {summary ? (\n          <Text class=\"m-0 text-xs font-medium text-muted-foreground\">\n            {summary}\n          </Text>\n        ) : null}\n      </Box>\n      {actions ? (\n        <Box class=\"flex flex-wrap items-center gap-2\">\n          {actions}\n        </Box>\n      ) : null}\n    </Box>\n  );\n}\n",
      "path": "components/page-header.tsx",
      "target": "components/page-header.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "solid",
      "component"
    ]
  },
  "name": "page-header",
  "registryDependencies": [
    "compose",
    "utils"
  ],
  "runtime": "solid",
  "title": "Page Header",
  "type": "registry:component"
}
