{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "p-select-8",
  "description": "Select with icon",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "@coss/select"
  ],
  "files": [
    {
      "path": "registry/default/particles/p-select-8.tsx",
      "content": "import { CableIcon } from \"lucide-react\";\nimport {\n  Select,\n  SelectItem,\n  SelectPopup,\n  SelectTrigger,\n  SelectValue,\n} from \"@/registry/default/ui/select\";\n\nconst items = [\n  { label: \"Next.js\", value: \"next\" },\n  { label: \"Vite\", value: \"vite\" },\n  { label: \"Astro\", value: \"astro\" },\n];\n\nexport default function Particle() {\n  return (\n    <Select\n      aria-label=\"Select framework with icon\"\n      defaultValue=\"next\"\n      items={items}\n    >\n      <SelectTrigger>\n        <CableIcon aria-hidden=\"true\" />\n        <SelectValue />\n      </SelectTrigger>\n      <SelectPopup alignItemWithTrigger={false}>\n        {items.map(({ label, value }) => (\n          <SelectItem key={value} value={value}>\n            {label}\n          </SelectItem>\n        ))}\n      </SelectPopup>\n    </Select>\n  );\n}\n",
      "type": "registry:block"
    }
  ],
  "meta": {
    "className": "**:data-[slot=preview]:w-full **:data-[slot=preview]:max-w-64"
  },
  "categories": [
    "select"
  ],
  "type": "registry:block"
}