{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-with-media-motion-demo",
  "type": "registry:component",
  "title": "Hero — with media (motion) example",
  "description": "Usage example (demo) for Hero — with media (motion): the code behind the preview on https://facadeui.dev/components/hero-with-media-motion. Installs the items it uses.",
  "categories": [
    "example"
  ],
  "registryDependencies": [
    "https://facadeui.dev/r/examples-content.json",
    "https://facadeui.dev/r/hero-with-media-motion.json"
  ],
  "files": [
    {
      "path": "hero-with-media-motion.tsx",
      "type": "registry:component",
      "target": "components/examples/hero-with-media-motion-demo.tsx",
      "content": "\"use client\"\n\n/**\n * The `hero-with-media` demo, with the motion variant swapped in.\n *\n * Identical props: the motion variant only changes which slot components\n * the static section renders through.\n *\n * `\"use client\"` is required here, not incidental: the motion variant is a\n * client component, and icon components cannot cross a server-to-client\n * boundary as props. See the note on `IconComponent`.\n */\n\nimport { HeroWithMediaMotion } from \"@/components/sections/hero-with-media-motion\"\n\nimport { ACTIONS } from \"./content\"\n\nexport function Demo() {\n  return (\n    <HeroWithMediaMotion\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-motion-demo.tsx renders Hero — with media (motion) with sample content from components/examples/content.tsx. Copy what you need into your page. Docs: https://facadeui.dev/components/hero-with-media-motion"
}
