{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "context-menu-with-icon-example",
  "title": "Context Menu With Icon",
  "description": "context-menu-with-icon-example",
  "dependencies": [
    "@heroicons/react",
    "react-aria-components"
  ],
  "registryDependencies": [
    "https://intentui.com/r/menu"
  ],
  "files": [
    {
      "path": "src/components/examples/controls/context-menu/context-menu-with-icon-example.tsx",
      "content": "\"use client\"\n\nimport {\n  ArchiveBoxIcon,\n  DocumentIcon,\n  FolderOpenIcon,\n  PencilSquareIcon,\n  Square2StackIcon,\n  TrashIcon,\n} from \"@heroicons/react/24/outline\"\n\nimport {\n  MenuTrigger,\n  Menu,\n  MenuItem,\n  MenuLabel,\n  MenuSeparator,\n  MenuShortcut,\n} from \"@/components/ui/menu\"\nimport { Pressable } from \"react-aria-components\"\n\nexport default function MenuWithIconDemo() {\n  return (\n    <MenuTrigger trigger=\"contextMenu\">\n      <Pressable>\n        <div\n          role=\"button\"\n          className=\"flex aspect-video w-56 items-center justify-center rounded-xl border border-dashed text-sm\"\n        >\n          <span className=\"hidden pointer-fine:inline-block\">Right click here</span>\n          <span className=\"hidden pointer-coarse:inline-block\">Long press here</span>\n        </div>\n      </Pressable>\n      <Menu className=\"min-w-52\">\n        <MenuItem>\n          <FolderOpenIcon />\n          <MenuLabel>Open Folder</MenuLabel>\n        </MenuItem>\n        <MenuItem>\n          <DocumentIcon />\n          <MenuLabel>Open File</MenuLabel>\n        </MenuItem>\n        <MenuItem>\n          <MenuLabel>Open with...</MenuLabel>\n        </MenuItem>\n        <MenuSeparator />\n        <MenuItem>\n          <PencilSquareIcon />\n          <MenuLabel>Rename</MenuLabel>\n        </MenuItem>\n        <MenuItem>\n          <Square2StackIcon />\n          <MenuLabel>Duplicate</MenuLabel>\n        </MenuItem>\n        <MenuItem>\n          <MenuLabel>Share</MenuLabel>\n        </MenuItem>\n        <MenuSeparator />\n        <MenuItem>\n          <TrashIcon />\n          <MenuLabel>Delete</MenuLabel>\n          <MenuShortcut>⌘←</MenuShortcut>\n        </MenuItem>\n        <MenuItem>\n          <ArchiveBoxIcon />\n          <MenuLabel>Bin</MenuLabel>\n        </MenuItem>\n      </Menu>\n    </MenuTrigger>\n  )\n}\n",
      "type": "registry:page",
      "target": "app/context-menu-with-icon-example/page.tsx"
    }
  ],
  "type": "registry:page"
}