{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-with-media-demo",
  "type": "registry:component",
  "title": "Hero — with media example",
  "description": "Usage example (demo) for Hero — with media: the code behind the preview on https://facadeui.dev/components/hero-with-media. Installs the items it uses.",
  "categories": [
    "example"
  ],
  "registryDependencies": [
    "https://facadeui.dev/r/examples-content.json",
    "https://facadeui.dev/r/hero-with-media.json"
  ],
  "files": [
    {
      "path": "hero-with-media.tsx",
      "type": "registry:component",
      "target": "components/examples/hero-with-media-demo.tsx",
      "content": "import { HeroWithMedia } from \"@/components/sections/hero-with-media\"\n\nimport { ACTIONS } from \"./content\"\n\nexport function Demo() {\n  return (\n    <HeroWithMedia\n      eyebrow=\"Overlay\"\n      title=\"Copy over media, with contrast guaranteed\"\n      description=\"The scrim is always painted, because text over an arbitrary image has no predictable contrast ratio.\"\n      actions={ACTIONS}\n      headingLevel={1}\n      spacing=\"md\"\n      // Decorative: it carries nothing the copy does not already say.\n      media={\n        <div\n          role=\"presentation\"\n          className=\"size-full bg-[radial-gradient(circle_at_20%_20%,#3b4a6b,transparent_55%),radial-gradient(circle_at_80%_30%,#6b3b5a,transparent_50%),linear-gradient(140deg,#11151f,#2a2140)]\"\n        />\n      }\n    />\n  )\n}\n"
    }
  ],
  "docs": "Example only: components/examples/hero-with-media-demo.tsx renders Hero — with media with sample content from components/examples/content.tsx. Copy what you need into your page. Docs: https://facadeui.dev/components/hero-with-media"
}
