{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-2",
  "title": "Split Hero With Dashboard Mockup",
  "description": "Split two-column hero section pairing copy and a watch demo dialog with an analytics dashboard mockup of stat cards, a bar chart, and a channel table.",
  "dependencies": [
    "@base-ui/react"
  ],
  "registryDependencies": [
    "badge",
    "button",
    "dialog",
    "separator"
  ],
  "files": [
    {
      "path": "registry/blocks/hero/2/hero-block.tsx",
      "content": "\"use client\"\nimport { Badge } from \"@/components/ui/badge\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n  Dialog,\n  DialogContent,\n  DialogDescription,\n  DialogHeader,\n  DialogTitle,\n  DialogTrigger,\n} from \"@/components/ui/dialog\"\nimport { Separator } from \"@/components/ui/separator\"\nimport { IconPlaceholder } from \"@/components/icons/icon-placeholder\"\n\nconst TRUST_ITEMS = [\n  \"No credit card required\",\n  \"14-day free trial\",\n  \"Cancel anytime\",\n]\n\nconst SCREENSHOT_ROWS = [\n  {\n    label: \"Revenue\",\n    value: \"$48,290\",\n    change: \"+12.4%\",\n    positive: true,\n  },\n  {\n    label: \"Users\",\n    value: \"3,841\",\n    change: \"+8.1%\",\n    positive: true,\n  },\n  {\n    label: \"Churn\",\n    value: \"1.7%\",\n    change: \"-0.3%\",\n    positive: true,\n  },\n  {\n    label: \"Session\",\n    value: \"4m 22s\",\n    change: \"+0.9%\",\n    positive: true,\n  },\n]\n\nconst BAR_HEIGHTS = [30, 55, 42, 70, 48, 80, 65, 90, 58, 75, 62, 88]\n\nexport default function HeroBlock() {\n  return (\n    <section className=\"flex w-full items-center justify-center bg-background px-6 py-16 text-foreground\">\n      <div className=\"mx-auto grid w-full max-w-6xl grid-cols-1 gap-12 md:grid-cols-2 md:items-center md:gap-16\">\n        <div className=\"flex flex-col\">\n          <Badge variant=\"outline\" className=\"w-fit\">\n            Version 2.0 Is Live\n          </Badge>\n\n          <h1 className=\"mt-6 font-heading text-4xl font-bold tracking-tight sm:text-5xl\">\n            The analytics platform\n            <br className=\"hidden sm:block\" /> built for scale.\n          </h1>\n\n          <p className=\"mt-5 text-lg text-muted-foreground\">\n            Acme gives your team real-time visibility into every metric that\n            matters, from acquisition to retention, in a single, unified\n            dashboard.\n          </p>\n\n          <div className=\"mt-8 flex flex-col gap-3 sm:flex-row sm:items-center\">\n            <Button\n              render={<a href=\"#\" />}\n              nativeButton={false}\n              className=\"w-full sm:w-auto active:scale-[0.97] transition-transform duration-[160ms] ease-[cubic-bezier(0.23,1,0.32,1)]\"\n            >\n              Start For Free\n              <IconPlaceholder\n                lucide=\"ArrowRight\"\n                tabler=\"IconArrowRight\"\n                hugeicons=\"ArrowRightIcon\"\n                phosphor=\"ArrowRight\"\n                remixicon=\"RiArrowRightLine\"\n                data-icon=\"inline-end\"\n                aria-hidden=\"true\"\n              />\n            </Button>\n            <Dialog>\n              <DialogTrigger\n                render={\n                  <Button\n                    variant=\"ghost\"\n                    className=\"w-full sm:w-auto active:scale-[0.97] transition-transform duration-[160ms] ease-[cubic-bezier(0.23,1,0.32,1)]\"\n                  />\n                }\n              >\n                <IconPlaceholder\n                  lucide=\"PlayCircle\"\n                  tabler=\"IconPlayerPlay\"\n                  hugeicons=\"PlayCircleIcon\"\n                  phosphor=\"PlayCircle\"\n                  remixicon=\"RiPlayCircleLine\"\n                  data-icon=\"inline-start\"\n                  aria-hidden=\"true\"\n                />\n                Watch Demo\n              </DialogTrigger>\n              <DialogContent className=\"sm:max-w-2xl\">\n                <DialogHeader>\n                  <DialogTitle>Product demo</DialogTitle>\n                  <DialogDescription>\n                    A 2-minute tour of the Acme analytics dashboard.\n                  </DialogDescription>\n                </DialogHeader>\n                <div className=\"relative flex aspect-video w-full items-center justify-center rounded-lg border border-border bg-muted\">\n                  <span\n                    className=\"flex size-14 items-center justify-center rounded-full bg-background/80 ring-1 ring-border\"\n                    aria-hidden=\"true\"\n                  >\n                    <IconPlaceholder\n                      lucide=\"Play\"\n                      tabler=\"IconPlayerPlay\"\n                      hugeicons=\"PlayIcon\"\n                      phosphor=\"Play\"\n                      remixicon=\"RiPlayFill\"\n                      className=\"size-6 text-foreground\"\n                    />\n                  </span>\n                  <span className=\"sr-only\">Demo video placeholder</span>\n                </div>\n              </DialogContent>\n            </Dialog>\n          </div>\n\n          <Separator className=\"my-8\" />\n\n          <ul className=\"flex flex-col gap-2.5\">\n            {TRUST_ITEMS.map((item) => (\n              <li\n                key={item}\n                className=\"flex items-center gap-2 text-sm text-muted-foreground\"\n              >\n                <IconPlaceholder\n                  lucide=\"Check\"\n                  tabler=\"IconCheck\"\n                  hugeicons=\"Tick02Icon\"\n                  phosphor=\"Check\"\n                  remixicon=\"RiCheckLine\"\n                  className=\"size-4 shrink-0 text-foreground\"\n                  aria-hidden=\"true\"\n                />\n                {item}\n              </li>\n            ))}\n          </ul>\n        </div>\n\n        <div className=\"relative\">\n          <div className=\"rounded-lg border border-border bg-card p-1\">\n            <div className=\"flex items-center gap-1.5 rounded-t-md border-b border-border bg-muted px-3 py-2\">\n              <span className=\"size-2.5 border border-border bg-background\" />\n              <span className=\"size-2.5 border border-border bg-background\" />\n              <span className=\"size-2.5 border border-border bg-background\" />\n              <span className=\"ml-3 h-4 flex-1 rounded-md border border-border bg-background\" />\n            </div>\n\n            <div className=\"flex flex-col gap-0 rounded-b-md bg-background p-4\">\n              <div className=\"grid grid-cols-2 gap-3\">\n                {SCREENSHOT_ROWS.map((row) => (\n                  <div\n                    key={row.label}\n                    className=\"flex flex-col rounded-lg border border-border bg-card p-3\"\n                  >\n                    <p className=\"text-xs text-muted-foreground\">{row.label}</p>\n                    <p className=\"mt-1 text-lg font-bold tabular-nums\">\n                      {row.value}\n                    </p>\n                    <p className=\"mt-0.5 text-xs whitespace-nowrap text-muted-foreground\">\n                      {row.change} vs last mo.\n                    </p>\n                  </div>\n                ))}\n              </div>\n\n              <div className=\"mt-3 rounded-lg border border-border bg-card p-4\">\n                <div className=\"mb-3 flex items-center justify-between\">\n                  <p className=\"text-xs font-semibold\">Revenue over time</p>\n                  <Badge variant=\"secondary\" className=\"text-xs\">\n                    Last 12 months\n                  </Badge>\n                </div>\n                <div className=\"flex h-28 items-end gap-1\">\n                  {BAR_HEIGHTS.map((h, i) => (\n                    <div\n                      key={i}\n                      className=\"flex-1 bg-foreground/15\"\n                      style={{ height: `${h}%` }}\n                      aria-hidden=\"true\"\n                    />\n                  ))}\n                </div>\n                <div className=\"mt-2 flex justify-between\">\n                  {[\"Jan\", \"Mar\", \"May\", \"Jul\", \"Sep\", \"Nov\"].map((m) => (\n                    <span key={m} className=\"text-xs text-muted-foreground\">\n                      {m}\n                    </span>\n                  ))}\n                </div>\n              </div>\n\n              <div className=\"mt-3 rounded-lg border border-border bg-card\">\n                <div className=\"flex items-center justify-between border-b border-border px-4 py-2\">\n                  <p className=\"text-xs font-semibold\">Top channels</p>\n                </div>\n                {[\n                  { name: \"Organic search\", pct: 74, sessions: \"2,841\" },\n                  { name: \"Direct\", pct: 53, sessions: \"2,032\" },\n                  { name: \"Referral\", pct: 31, sessions: \"1,190\" },\n                ].map((row) => (\n                  <div\n                    key={row.name}\n                    className=\"flex items-center gap-3 border-b border-border px-4 py-2 last:border-0\"\n                  >\n                    <span className=\"w-24 truncate text-xs\">{row.name}</span>\n                    <div className=\"flex-1 border border-border bg-muted\">\n                      <div\n                        className=\"h-1.5 bg-foreground/40\"\n                        style={{ width: `${row.pct}%` }}\n                        aria-hidden=\"true\"\n                      />\n                    </div>\n                    <span className=\"w-12 text-right text-xs text-muted-foreground tabular-nums\">\n                      {row.sessions}\n                    </span>\n                  </div>\n                ))}\n              </div>\n            </div>\n          </div>\n\n          <div\n            className=\"absolute -right-3 -bottom-3 -z-10 size-full rounded-lg border border-border bg-muted\"\n            aria-hidden=\"true\"\n          />\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/blocks/hero-2.tsx"
    }
  ],
  "meta": {
    "height": "766px",
    "tier": "free"
  },
  "docs": "Requires a `base-*` style in components.json (the `shadcn init` default). Legacy `new-york`/`radix-*` styles install Radix primitives, which reject the `render` prop this block uses.",
  "categories": [
    "hero"
  ],
  "type": "registry:block"
}