{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A faint full-size picture behind the content of its section (image), or nothing (none). It sits inside the Block of the block, which `behind` makes `relative isolate overflow-hidden`, so the section 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 faint full-size picture behind the content of its section (image), or nothing (none). It sits inside the\n * Block of the block, which `behind` makes `relative isolate overflow-hidden`, so the section stays the root of\n * the block (rule 01).\n */\nimport { type ReactNode } from \"react\";\nimport { Box } from \"../compose\";\nimport { MediaFrame } from \"../components/media-frame\";\n\nexport type BackdropProps = {\n  kind?: \"none\" | \"image\";\n  alt?: string;\n  image?: string;\n};\n\nexport function Backdrop({ kind = \"none\", alt = \"\", image }: BackdropProps) {\n  return (\n    <>\n      {((kind as string) === \"image\") ? (\n        <Box className=\"pointer-events-none absolute inset-0 -z-10\" data-slot=\"backdrop\">\n          <MediaFrame alt={alt} src={image} ratio=\"21/9\" className=\"size-full rounded-none opacity-30\" />\n        </Box>\n      ) : null}\n    </>\n  );\n}\n",
      "path": "components/backdrop.tsx",
      "target": "components/backdrop.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "backdrop",
  "registryDependencies": [
    "compose",
    "media-frame",
    "utils"
  ],
  "runtime": "react",
  "title": "Backdrop",
  "type": "registry:component"
}
