{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "analytics-17",
  "type": "registry:block",
  "description": "Investor-style milestone timeline toward an ARR goal with a horizontal progress track on desktop and vertical list on mobile.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/analytics/analytics-17.tsx",
      "content": "import {\n  Check,\n  Flag,\n} from \"@designali/icons\"\n\nimport { cn } from \"@workspace/ui/lib/utils\"\n\nimport { CounterNumber } from \"@/registry/designali/ui/counter-number\"\n\nconst milestones = [\n  { arr: 100, label: \"100k downloads\", date: \"Feb 2025\", note: \"First Designali templates and Dalim UI kits shipped.\" },\n  { arr: 500, label: \"500k downloads\", date: \"Sep 2025\", note: \"@designali/icons published with 4,000+ icons.\" },\n  { arr: 1000, label: \"1M downloads\", date: \"Mar 2026\", note: \"460+ blocks and 240+ landing pages live on designali.com.\" },\n  { arr: 2500, label: \"2.5M downloads\", date: \"Oct 2026\", note: \"2,300+ UI examples added to /ui.\" },\n  { arr: 5000, label: \"5M downloads\", date: \"Target Q3 2027\", note: \"More templates, logos and vectors for design engineers.\" },\n]\n\nconst currentArr = 2870\nconst goal = 5000\n\nexport default function Analytics17() {\n  const progress = (currentArr / goal) * 100\n\n  return (\n    <section className=\"w-full bg-background py-16 text-foreground md:py-24\">\n      <div className=\"mx-auto max-w-7xl px-6\">\n        <div className=\"flex flex-col gap-6 md:flex-row md:items-end md:justify-between\">\n          <div>\n            <p className=\"text-xs tracking-widest text-muted-foreground uppercase\">\n              Designali update, November 2026\n            </p>\n            <h2 className=\"mt-2 text-3xl font-medium tracking-tight md:text-4xl\">\n              The road to 5M downloads\n            </h2>\n          </div>\n          <div className=\"text-left md:text-right\">\n            <CounterNumber\n              value={currentArr / 1000}\n              decimalPlaces={2}\n              suffix=\"M\"\n              className=\"block text-4xl font-semibold tracking-tight\"\n            />\n            <p className=\"text-sm text-muted-foreground\">Total downloads, {progress.toFixed(0)}% of goal</p>\n          </div>\n        </div>\n\n        <div className=\"relative mt-14 hidden md:block\">\n          <div className=\"absolute top-4 right-0 left-0 h-1 bg-muted\" />\n          <div className=\"absolute top-4 left-0 h-1 bg-primary\" style={{ width: `${progress}%` }} />\n          <div\n            className=\"absolute top-0 -translate-x-1/2\"\n            style={{ left: `${progress}%` }}\n          >\n            <span className=\"block size-9 animate-pulse rounded-full bg-primary/20\" />\n          </div>\n          <ol className=\"relative grid grid-cols-5\">\n            {milestones.map((m) => {\n              const done = m.arr <= currentArr\n              return (\n                <li key={m.label} className=\"pr-6\">\n                  <span\n                    className={cn(\n                      \"flex size-9 items-center justify-center rounded-full border-2\",\n                      done\n                        ? \"border-primary bg-primary text-primary-foreground\"\n                        : \"border-border bg-background text-muted-foreground\"\n                    )}\n                  >\n                    {done ? <Check className=\"size-4\" /> : <Flag className=\"size-4\" />}\n                  </span>\n                  <p className=\"mt-6 text-lg font-medium\">{m.label}</p>\n                  <p className=\"text-xs text-muted-foreground\">{m.date}</p>\n                  <p className=\"mt-3 text-sm leading-6 text-muted-foreground\">{m.note}</p>\n                </li>\n              )\n            })}\n          </ol>\n        </div>\n\n        <ol className=\"mt-10 space-y-0 border-l-2 md:hidden\">\n          {milestones.map((m) => {\n            const done = m.arr <= currentArr\n            return (\n              <li key={m.label} className=\"relative pb-8 pl-8 last:pb-0\">\n                <span\n                  className={cn(\n                    \"absolute top-0 -left-[13px] flex size-6 items-center justify-center rounded-full border-2\",\n                    done\n                      ? \"border-primary bg-primary text-primary-foreground\"\n                      : \"border-border bg-background text-muted-foreground\"\n                  )}\n                >\n                  {done ? <Check className=\"size-3\" /> : <Flag className=\"size-3\" />}\n                </span>\n                <p className=\"font-medium\">{m.label}</p>\n                <p className=\"text-xs text-muted-foreground\">{m.date}</p>\n                <p className=\"mt-2 text-sm text-muted-foreground\">{m.note}</p>\n              </li>\n            )\n          })}\n        </ol>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "650px"
  },
  "categories": [
    "analytics"
  ]
}