{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "product-launch-demo",
  "type": "registry:component",
  "title": "Product launch example",
  "description": "Usage example (demo) for Product launch: the code behind the preview on https://facadeui.dev/components/product-launch. Installs the items it uses.",
  "categories": [
    "example"
  ],
  "registryDependencies": [
    "https://facadeui.dev/r/examples-content.json",
    "https://facadeui.dev/r/newsletter.json",
    "https://facadeui.dev/r/product-launch.json"
  ],
  "files": [
    {
      "path": "product-launch.tsx",
      "type": "registry:component",
      "target": "components/examples/product-launch-demo.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\n\nimport { ProductLaunch } from \"@/components/templates/product-launch\"\nimport type { NewsletterStatus } from \"@/components/sections/newsletter\"\n\nimport {\n  BENTO,\n  FAQS,\n  FOOTER_GROUPS,\n  NAV_ITEMS,\n  TABS,\n  USPS,\n  MediaPlaceholder,\n} from \"./content\"\n\nexport function Demo() {\n  const [status, setStatus] = useState<NewsletterStatus>(\"idle\")\n\n  return (\n    <div className=\"-m-6 sm:-m-10\">\n      <ProductLaunch\n        signUpStatus={status}\n        signUpError=\"Enter a valid email address.\"\n        onSignUp={(email) => {\n          if (!email.includes(\"@\")) {\n            setStatus(\"error\")\n            return\n          }\n          setStatus(\"submitting\")\n          window.setTimeout(() => setStatus(\"success\"), 900)\n        }}\n        content={{\n          brand: \"Facade UI\",\n          nav: NAV_ITEMS,\n          navActions: [{ label: \"Star on GitHub\", href: \"#github\" }],\n          announcement: {\n            label: \"Launch announcement\",\n            message: \"Facade UI v0.1 is out.\",\n            action: { label: \"Read the notes\", href: \"#release\" },\n          },\n          hero: {\n            eyebrow: \"Now available\",\n            title: \"Sixty-two pieces, one system\",\n            description:\n              \"Sections, atoms, motion and three verified themes. Install what you need; the source is yours.\",\n            actions: [\n              { label: \"Get started\", href: \"#start\" },\n              { label: \"Browse components\", href: \"#components\" },\n            ],\n            note: \"MIT licensed.\",\n            media: <MediaPlaceholder label=\"Launch screenshot\" ratio=\"aspect-[16/8]\" />,\n          },\n          highlights: {\n            eyebrow: \"At a glance\",\n            title: \"What is in the box\",\n            items: BENTO,\n          },\n          usps: { eyebrow: \"Why\", title: \"Three things that matter\", items: USPS },\n          detail: {\n            eyebrow: \"How it works\",\n            title: \"Three steps, one system\",\n            items: TABS,\n          },\n          faq: { eyebrow: \"FAQ\", title: \"Questions, answered\", items: FAQS },\n          signup: {\n            eyebrow: \"Changelog\",\n            title: \"One email when something ships\",\n            description: \"No drip campaign, no webinar invitations.\",\n            note: \"Unsubscribe in one click.\",\n          },\n          footer: {\n            groups: FOOTER_GROUPS,\n            copyright: \"© 2026 Facade UI contributors\",\n            legal: [{ label: \"Privacy\", href: \"#privacy\" }],\n          },\n        }}\n      />\n    </div>\n  )\n}\n"
    }
  ],
  "docs": "Example only: components/examples/product-launch-demo.tsx renders Product launch with sample content from components/examples/content.tsx. Copy what you need into your page. Docs: https://facadeui.dev/components/product-launch"
}
