{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "menu-item-description-example",
  "title": "Menu Item Description",
  "description": "menu-item-description-example",
  "dependencies": [
    "@heroicons/react"
  ],
  "registryDependencies": [
    "https://intentui.com/r/button",
    "https://intentui.com/r/menu"
  ],
  "files": [
    {
      "path": "src/components/examples/collections/menu/menu-item-description-example.tsx",
      "content": "'use client'\n\nimport { Cog6ToothIcon } from '@heroicons/react/24/outline'\nimport { Button } from '@/components/ui/button'\nimport { Menu, MenuContent, MenuDescription, MenuItem, MenuLabel } from '@/components/ui/menu'\n\nexport default function MenuItemDescriptionDemo() {\n  return (\n    <Menu>\n      <Button intent=\"outline\">Open</Button>\n      <MenuContent\n        className=\"sm:min-w-60 sm:max-w-min\"\n        popover={{ placement: 'bottom' }}\n        items={roles}\n      >\n        {(item) => (\n          <MenuItem id={item.id} textValue={item.name}>\n            <Cog6ToothIcon />\n            <MenuLabel>{item.name}</MenuLabel>\n            <MenuDescription>{item.description}</MenuDescription>\n          </MenuItem>\n        )}\n      </MenuContent>\n    </Menu>\n  )\n}\n\nconst roles = [\n  {\n    id: 1,\n    name: 'Admin',\n    description: 'Has full access to all resources',\n  },\n  {\n    id: 2,\n    name: 'Editor',\n    description: 'Can edit content but has limited access to settings',\n  },\n  {\n    id: 3,\n    name: 'Viewer',\n    description: 'Can view content but cannot make changes',\n  },\n  {\n    id: 4,\n    name: 'Contributor',\n    description: 'Can contribute content for review',\n  },\n  {\n    id: 5,\n    name: 'Guest',\n    description: 'Limited access, mostly for viewing purposes',\n  },\n]\n",
      "type": "registry:page",
      "target": "app/menu-item-description-example/page.tsx"
    }
  ],
  "type": "registry:page"
}