{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "features-08",
  "type": "registry:block",
  "description": "A tabbed feature showcase with a highlighted metric panel.",
  "dependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/features/features-08.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\n\nimport { cn } from \"@workspace/ui/lib/utils\"\n\nimport { CounterNumber } from \"@/registry/designali/ui/counter-number\"\n\nconst tabs = [\n  {\n    id: \"design\",\n    label: \"Design\",\n    title: \"Tokens that sync both ways\",\n    body: \"Designali design tokens live in Figma and code. Change a colour once and every block, template and page stays in sync.\",\n    metric: 62,\n    decimals: 0,\n    suffix: \"%\",\n    metricLabel: \"less time spent on handoff\",\n  },\n  {\n    id: \"build\",\n    label: \"Build\",\n    title: \"Components with guardrails\",\n    body: \"Accessible components built with React, TypeScript and Tailwind CSS, so you compose new screens without reinventing behaviour.\",\n    metric: 3.4,\n    decimals: 1,\n    suffix: \"x\",\n    metricLabel: \"faster feature delivery\",\n  },\n  {\n    id: \"review\",\n    label: \"Review\",\n    title: \"Shipped on Vercel\",\n    body: \"Ali Imam reviews every page for polish and performance before it ships, so your site looks great and loads fast on every device.\",\n    metric: 91,\n    decimals: 0,\n    suffix: \"%\",\n    metricLabel: \"Lighthouse-ready pages\",\n  },\n]\n\nexport default function Features08() {\n  const [active, setActive] = useState(tabs[0]!.id)\n  const current = tabs.find((tab) => tab.id === active) ?? tabs[0]!\n\n  return (\n    <section className=\"w-full bg-background px-6 py-20 md:py-28\">\n      <div className=\"mx-auto max-w-5xl\">\n        <h2 className=\"text-center text-3xl font-medium tracking-tight md:text-5xl\">\n          Design se code tak — one system, start to finish\n        </h2>\n        <div className=\"mx-auto mt-10 flex w-fit border border-border\">\n          {tabs.map((tab) => (\n            <button\n              key={tab.id}\n              type=\"button\"\n              onClick={() => setActive(tab.id)}\n              className={cn(\n                \"px-5 py-2 text-sm transition-colors not-last:border-r not-last:border-border\",\n                active === tab.id\n                  ? \"bg-foreground text-background\"\n                  : \"text-muted-foreground hover:text-foreground\"\n              )}\n            >\n              {tab.label}\n            </button>\n          ))}\n        </div>\n        <div className=\"mt-10 grid border border-border md:grid-cols-[1fr_280px]\">\n          <div className=\"p-8 md:p-12\">\n            <h3 className=\"text-2xl font-medium tracking-tight\">\n              {current.title}\n            </h3>\n            <p className=\"mt-4 max-w-lg text-sm leading-7 text-muted-foreground\">\n              {current.body}\n            </p>\n          </div>\n          <div className=\"flex flex-col justify-center border-t border-border bg-muted/40 p-8 md:border-t-0 md:border-l\">\n            <CounterNumber\n              key={current.id}\n              value={current.metric}\n              decimalPlaces={current.decimals}\n              suffix={current.suffix}\n              size=\"xl\"\n              className=\"font-medium tracking-tight\"\n            />\n            <div className=\"mt-2 text-sm text-muted-foreground\">\n              {current.metricLabel}\n            </div>\n          </div>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "600px"
  },
  "categories": [
    "features"
  ]
}