{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/sonner-04","type":"registry:component","title":"Sonner 4","description":"A toast notification with avatar component for personalized user notifications","dependencies":["sonner"],"registryDependencies":["avatar","button"],"files":[{"path":"src/registry/new-york/components/sonner/sonner-04.tsx","content":"'use client'\n\nimport { toast } from 'sonner'\n\nimport { Avatar, AvatarFallback, AvatarImage } from '@/registry/new-york/ui/avatar'\nimport { Button } from '@/registry/new-york/ui/button'\n\nconst SonnerWithAvatarDemo = () => {\n  return (\n    <Button\n      variant='outline'\n      onClick={() =>\n        toast(\n          <div className='flex items-center gap-2'>\n            <Avatar>\n              <AvatarImage src='https://cdn.shadcnstudio.com/ss-assets/avatar/avatar-5.png' alt='Hallie Richards' />\n              <AvatarFallback className='text-xs'>HR</AvatarFallback>\n            </Avatar>\n            Hey Henry Richer, your profile is now up to date!\n          </div>\n        )\n      }\n    >\n      Toast with avatar\n    </Button>\n  )\n}\n\nexport default SonnerWithAvatarDemo\n","type":"registry:component","target":"components/shadcn-studio/sonner/sonner-04.tsx"}]}