{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "account-setup-progress",
  "type": "registry:ui",
  "title": "Account setup progress",
  "description": "React onboarding card that shows account setup as completed steps out of a total, with a labelled progress bar and a hint for the next step to finish.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.minidev.pro/r/progress.json",
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/account-setup-progress.tsx",
      "type": "registry:ui",
      "target": "components/ui/account-setup-progress.tsx",
      "content": "\"use client\"\nimport { cn } from \"@/lib/utils\"\nimport { Progress } from \"@/components/ui/progress\"\nimport * as React from \"react\"\n\nfunction AccountSetupProgress({\n  stepsDone = 2,\n  stepsTotal = 4,\n  className,\n}: {\n  stepsDone?: number\n  stepsTotal?: number\n  className?: string\n}) {\n  const id = React.useId()\n  const pct = Math.round((stepsDone / stepsTotal) * 100)\n  return (\n    <div data-slot=\"account-setup-progress\" className={cn(\"space-y-2 rounded-xl border border-border bg-surface p-4 shadow-highlight\", className)}>\n      <div className=\"flex justify-between text-sm\">\n        <span className=\"font-medium text-fg\" id={id}>Account setup</span>\n        <span className=\"tabular-nums text-fg-muted\">{stepsDone}/{stepsTotal}</span>\n      </div>\n      <Progress value={pct} aria-labelledby={id} />\n      <p className=\"text-xs text-fg-muted\">Next: connect billing · then invite your team</p>\n    </div>\n  )\n}\nexport { AccountSetupProgress }\n"
    }
  ]
}
