{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/sonner-03","type":"registry:component","title":"Sonner 3","description":"A toast notification with custom icon for enhanced visual communication","dependencies":["lucide-react","sonner"],"registryDependencies":["button"],"files":[{"path":"src/registry/new-york/components/sonner/sonner-03.tsx","content":"'use client'\n\nimport { TruckIcon } from 'lucide-react'\n\nimport { toast } from 'sonner'\n\nimport { Button } from '@/registry/new-york/ui/button'\n\nconst SonnerWithIconDemo = () => {\n  return (\n    <Button\n      variant='outline'\n      onClick={() =>\n        toast(\n          <div className='flex items-center gap-2'>\n            <TruckIcon className='size-5.5 shrink-0' />\n            Your order has been successfully placed, and your parcel is on its way.\n          </div>\n        )\n      }\n    >\n      Toast with icon\n    </Button>\n  )\n}\n\nexport default SonnerWithIconDemo\n","type":"registry:component","target":"components/shadcn-studio/sonner/sonner-03.tsx"}]}