{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/card-14","type":"registry:component","title":"Card 14","description":"Dismissible action card with close button and call-to-action content","dependencies":["lucide-react"],"registryDependencies":["button","card"],"files":[{"path":"src/registry/new-york/components/card/card-14.tsx","content":"'use client'\n\nimport { useState } from 'react'\n\nimport { XIcon } from 'lucide-react'\n\nimport { Button } from '@/registry/new-york/ui/button'\nimport { Card, CardContent, CardHeader, CardTitle } from '@/registry/new-york/ui/card'\n\nconst CardActionDemo = () => {\n  const [isActive, setIsActive] = useState(true)\n\n  if (!isActive) return null\n\n  return (\n    <Card className='relative max-w-lg shadow-none'>\n      <Button\n        variant='ghost'\n        size='icon'\n        onClick={() => setIsActive(false)}\n        className='absolute top-2 right-2 rounded-full'\n      >\n        <XIcon />\n        <span className='sr-only'>Close</span>\n      </Button>\n      <CardHeader>\n        <CardTitle className='text-center'>Have a project in mind</CardTitle>\n      </CardHeader>\n      <CardContent className='flex flex-col gap-4 text-center'>\n        <p>Let&apos;s discuss! Our Assistant team is excited to hear about your projects, ideas and questions. </p>\n        <Button>Contact Our Team</Button>\n      </CardContent>\n    </Card>\n  )\n}\n\nexport default CardActionDemo\n","type":"registry:component","target":"components/shadcn-studio/card/card-14.tsx"}]}