{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "stepper-demo",
  "title": "Stepper: Onboarding flow",
  "description": "Four steps with back and continue.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.cuelark.com/r/button.json",
    "https://ui.cuelark.com/r/stepper.json"
  ],
  "files": [
    {
      "path": "src/registry/cuelark/examples/stepper-demo.tsx",
      "content": "import * as React from \"react\";\n\nimport { Button } from \"@/registry/cuelark/ui/button\";\nimport { Stepper } from \"@/registry/cuelark/ui/stepper\";\n\nconst steps = [\n  { title: \"Account\", description: \"Name and email\" },\n  { title: \"Workspace\", description: \"Team and URL\" },\n  { title: \"Billing\", description: \"Plan and card\" },\n  { title: \"Done\", description: \"Invite your team\" },\n];\n\nexport default function StepperDemo() {\n  const [current, setCurrent] = React.useState(1);\n  return (\n    <div className=\"grid w-full max-w-2xl gap-8\">\n      <Stepper steps={steps} current={current} onStepClick={setCurrent} />\n      <div className=\"flex justify-between\">\n        <Button variant=\"ghost\" disabled={current === 0} onClick={() => setCurrent((c) => c - 1)}>\n          Back\n        </Button>\n        <Button disabled={current === steps.length - 1} onClick={() => setCurrent((c) => c + 1)}>\n          Continue\n        </Button>\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "stepper",
    "example"
  ],
  "type": "registry:component"
}