{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-15",
  "type": "registry:block",
  "description": "Audience-switcher hero whose segmented tabs swap the headline, benefits and preview panel per role.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/hero/hero-15.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  ArrowRight,\n  Check,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\n\nimport { IPad } from \"@/registry/designali/ui/apple/ipad\"\n\nconst audiences = [\n  {\n    id: \"design\",\n    label: \"For designers\",\n    headline: \"Design in Figma, ship with Designali.\",\n    body: \"Designali UI designs, icons and illustrations match the code one to one, so your Figma file and your Next.js app never drift apart.\",\n    points: [\"2300+ UI designs\", \"4000+ icons and logos\", \"Semantic design tokens\"],\n    image: \"/img/hero-1.jpg\",\n  },\n  {\n    id: \"engineering\",\n    label: \"For engineers\",\n    headline: \"Stop rebuilding the same hero section.\",\n    body: \"Copy typed, accessible Designali blocks into your repo — React, TypeScript and Tailwind CSS, ready for production.\",\n    points: [\"460+ blocks\", \"Next.js and Tailwind CSS\", \"@designali/icons included\"],\n    image: \"/img/dashboard-1-light.jpg\",\n  },\n  {\n    id: \"leads\",\n    label: \"For founders\",\n    headline: \"Launch a product that looks studio-made.\",\n    body: \"Start from a Designali template, or hire the studio to design and build your brand, UI and website end to end.\",\n    points: [\"240+ landing pages\", \"Brand identity and UI/UX\", \"Production-ready code\"],\n    image: \"/images/templates/design-agency.jpg\",\n  },\n]\n\nexport default function Hero15() {\n  const [active, setActive] = useState(audiences[0]!.id)\n  const audience = audiences.find((item) => item.id === active) ?? audiences[0]!\n\n  return (\n    <section className=\"w-full bg-background px-6 py-16 md:py-24\">\n      <div className=\"mx-auto max-w-7xl\">\n        <div\n          role=\"tablist\"\n          aria-label=\"Choose your role\"\n          className=\"flex w-full gap-1 overflow-x-auto border border-border p-1 sm:w-fit\"\n        >\n          {audiences.map((item) => (\n            <button\n              key={item.id}\n              type=\"button\"\n              role=\"tab\"\n              aria-selected={item.id === active}\n              onClick={() => setActive(item.id)}\n              className={\n                item.id === active\n                  ? \"shrink-0 bg-foreground px-4 py-2 text-sm text-background\"\n                  : \"shrink-0 px-4 py-2 text-sm text-muted-foreground hover:text-foreground\"\n              }\n            >\n              {item.label}\n            </button>\n          ))}\n        </div>\n\n        <div className=\"mt-12 grid items-center gap-12 lg:grid-cols-2\">\n          <div>\n            <h1 className=\"text-4xl font-medium tracking-tight md:text-6xl\">\n              {audience.headline}\n            </h1>\n            <p className=\"mt-6 max-w-lg text-base leading-7 text-muted-foreground\">\n              {audience.body}\n            </p>\n            <ul className=\"mt-8 space-y-3 text-sm\">\n              {audience.points.map((point) => (\n                <li key={point} className=\"flex items-center gap-3\">\n                  <Check className=\"size-4 text-primary dark:text-primary\" />\n                  {point}\n                </li>\n              ))}\n            </ul>\n            <div className=\"mt-10 flex flex-wrap gap-3\">\n              <Button size=\"lg\" nativeButton={false} render={<a href=\"/blocks\" />}>\n                Start with Designali\n                <ArrowRight />\n              </Button>\n              <Button size=\"lg\" variant=\"outline\" nativeButton={false} render={<a href=\"/contact\" />}>\n                Talk to us\n              </Button>\n            </div>\n          </div>\n          <div className=\"flex justify-center\">\n            <IPad\n              variant=\"ipad-pro\"\n              color=\"silver\"\n              size=\"lg\"\n              orientation=\"landscape\"\n              className=\"h-auto! w-full max-w-2xl\"\n            >\n              <img\n                src={audience.image}\n                alt={`Designali ${audience.label.toLowerCase()} preview`}\n                className=\"size-full object-cover object-top\"\n              />\n            </IPad>\n          </div>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "760px"
  },
  "categories": [
    "hero"
  ]
}