{
  "name": "command-stack-demo",
  "type": "registry:example",
  "registryDependencies": [
    "command-stack"
  ],
  "files": [
    {
      "path": "examples/command-stack-demo.tsx",
      "type": "registry:example",
      "content": "import {\n  BookOpen,\n  FolderKanban,\n  LifeBuoy,\n  MessageSquare,\n  Plus,\n  UserPlus,\n  Users,\n} from \"lucide-react\";\n\nimport {\n  CommandStack,\n  CommandStackEmpty,\n  CommandStackGroup,\n  CommandStackInput,\n  CommandStackItem,\n  CommandStackList,\n  CommandStackPage,\n  CommandStackShortcut,\n} from \"@/registry/bases/radix/ui/command-stack\";\n\nconst projects = [\n  \"Marketing Website\",\n  \"Mobile App\",\n  \"Design System\",\n  \"Billing Service\",\n  \"Customer Portal\",\n];\n\nconst teams = [\"Design\", \"Engineering\", \"Product\", \"Customer Success\"];\n\nexport default function CommandStackDemo() {\n  return (\n    <CommandStack className=\"w-full max-w-md border shadow-md\">\n      <CommandStackInput placeholder=\"What do you need?\" />\n      <CommandStackList>\n        <CommandStackEmpty>No results found.</CommandStackEmpty>\n        <CommandStackPage value=\"root\" label=\"Home\">\n          <CommandStackGroup heading=\"Projects\">\n            <CommandStackItem page=\"projects\">\n              <FolderKanban />\n              Search projects...\n              <CommandStackShortcut>P</CommandStackShortcut>\n            </CommandStackItem>\n            <CommandStackItem>\n              <Plus />\n              Create new project...\n            </CommandStackItem>\n          </CommandStackGroup>\n          <CommandStackGroup heading=\"Teams\">\n            <CommandStackItem page=\"teams\">\n              <Users />\n              Search teams...\n              <CommandStackShortcut>T</CommandStackShortcut>\n            </CommandStackItem>\n            <CommandStackItem>\n              <UserPlus />\n              Invite teammates...\n            </CommandStackItem>\n          </CommandStackGroup>\n          <CommandStackGroup heading=\"Help\">\n            <CommandStackItem>\n              <BookOpen />\n              Documentation\n            </CommandStackItem>\n            <CommandStackItem>\n              <MessageSquare />\n              Send feedback...\n            </CommandStackItem>\n            <CommandStackItem>\n              <LifeBuoy />\n              Contact support\n            </CommandStackItem>\n          </CommandStackGroup>\n        </CommandStackPage>\n        <CommandStackPage\n          value=\"projects\"\n          label=\"Projects\"\n          placeholder=\"Search projects...\"\n        >\n          {projects.map((project) => (\n            <CommandStackItem key={project}>\n              <FolderKanban />\n              {project}\n            </CommandStackItem>\n          ))}\n        </CommandStackPage>\n        <CommandStackPage\n          value=\"teams\"\n          label=\"Teams\"\n          placeholder=\"Search teams...\"\n        >\n          {teams.map((team) => (\n            <CommandStackItem key={team}>\n              <Users />\n              {team}\n            </CommandStackItem>\n          ))}\n        </CommandStackPage>\n      </CommandStackList>\n    </CommandStack>\n  );\n}\n",
      "target": ""
    }
  ]
}