{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "plan-demo",
  "title": "Plan: Example",
  "description": "Six steps with an 8-second auto-run.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.cuelark.com/r/button.json",
    "https://ui.cuelark.com/r/plan.json"
  ],
  "files": [
    {
      "path": "src/registry/cuelark/examples/plan-demo.tsx",
      "content": "import * as React from \"react\";\n\nimport { Button } from \"@/registry/cuelark/ui/button\";\nimport { Plan } from \"@/registry/cuelark/ui/plan\";\n\nconst steps = [\n  { label: \"Create a shared tax helper\", done: true },\n  { label: \"Use it in the invoice API\" },\n  { label: \"Use it in the PDF renderer\" },\n  { label: \"Add tests for both paths\" },\n  { label: \"Update the changelog\" },\n  { label: \"Open a pull request\" },\n];\n\nexport default function PlanDemo() {\n  const [run, setRun] = React.useState(0);\n  return (\n    <div className=\"grid w-full max-w-md gap-3\">\n      <Plan key={run} title=\"Plan · fix tax on invoices\" steps={steps} autoRun={8} shortcuts={false} />\n      <Button variant=\"ghost\" size=\"xs\" className=\"w-fit\" onClick={() => setRun((r) => r + 1)}>\n        Reset\n      </Button>\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "plan",
    "example"
  ],
  "type": "registry:component"
}