{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/tooltip-14","type":"registry:component","title":"Tooltip 14","description":"An alert hover card with warning icon for error notifications","dependencies":["lucide-react"],"registryDependencies":["button","hover-card"],"files":[{"path":"src/registry/new-york/components/tooltip/tooltip-14.tsx","content":"import { FileQuestionIcon } from 'lucide-react'\n\nimport { Button } from '@/registry/new-york/ui/button'\nimport { HoverCard, HoverCardContent, HoverCardTrigger } from '@/registry/new-york/ui/hover-card'\n\nconst HoverCardAlertDemo = () => {\n  return (\n    <HoverCard openDelay={0} closeDelay={0}>\n      <HoverCardTrigger asChild>\n        <Button variant='link'>Hover Card Alert</Button>\n      </HoverCardTrigger>\n      <HoverCardContent className='w-72'>\n        <div className='flex flex-col items-center text-center'>\n          <span className='bg-destructive/10 mb-2.5 flex size-12 items-center justify-center rounded-full'>\n            <FileQuestionIcon className='text-destructive size-6' />\n          </span>\n          <div className='mb-1 text-lg font-medium'>File is corrupted</div>\n          <p className='text-sm'>It might have some virus or something that might be harmful for your device. </p>\n        </div>\n      </HoverCardContent>\n    </HoverCard>\n  )\n}\n\nexport default HoverCardAlertDemo\n","type":"registry:component","target":"components/shadcn-studio/tooltip/tooltip-14.tsx"}]}