{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A faded picture behind the content of its header (a transparent top bar over a hero image); on false: nothing. It sits inside the header Block, which is `relative isolate overflow-hidden` and transparent when on, so the header stays the root of the block (rule 01).",
  "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/**\n * A faded picture behind the content of its header (a transparent top bar over a hero image); on false: nothing.\n * It sits inside the header Block, which is `relative isolate overflow-hidden` and transparent when on, so the\n * header stays the root of the block (rule 01).\n */\nimport { type ReactNode } from \"react\";\nimport { Box } from \"../compose\";\nimport { MediaFrame } from \"../components/media-frame\";\n\nexport type OverMediaProps = {\n  on?: boolean;\n  alt: string;\n};\n\nexport function OverMedia({ on = false, alt }: OverMediaProps) {\n  return (\n    <>\n      {on ? (\n        <Box className=\"pointer-events-none absolute inset-0 -z-10\" data-slot=\"over\">\n          <MediaFrame alt={alt} ratio=\"21/9\" className=\"size-full rounded-none opacity-40\" />\n        </Box>\n      ) : null}\n    </>\n  );\n}\n",
      "path": "components/over-media.tsx",
      "target": "components/over-media.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "over-media",
  "registryDependencies": [
    "compose",
    "media-frame",
    "utils"
  ],
  "runtime": "react",
  "title": "Over Media",
  "type": "registry:component"
}
