{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "contact-2", "type": "registry:block", "description": "Modern contact card with info section and built-in form area.", "files": [ { "path": "registry/blocks/contact/2/contact-card.tsx", "content": "import { type LucideIcon, PlusIcon } from \"lucide-react\";\nimport type React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\ntype ContactInfoProps = React.ComponentProps<\"div\"> & {\n icon: LucideIcon;\n label: string;\n value: string;\n};\n\ntype ContactCardProps = React.ComponentProps<\"div\"> & {\n // Content props\n title?: string;\n description?: string;\n contactInfo?: ContactInfoProps[];\n formSectionClassName?: string;\n};\n\nexport function ContactCard({\n title = \"Contact With Us\",\n description = \"If you have any questions regarding our Services or need help, please fill out the form here. We do our best to respond within 1 business day.\",\n contactInfo,\n className,\n formSectionClassName,\n children,\n ...props\n}: ContactCardProps) {\n return (\n \n \n \n \n \n\n
\n
\n

\n {title}\n

\n

\n {description}\n

\n
\n {contactInfo?.map((info) => (\n \n ))}\n
\n
\n
\n \n {children}\n \n \n );\n}\n\nfunction ContactInfo({\n icon: Icon,\n label,\n value,\n className,\n ...props\n}: ContactInfoProps) {\n return (\n
\n
\n \n
\n
\n

{label}

\n

{value}

\n
\n
\n );\n}\n", "type": "registry:component" } ], "meta": { "height": "60vh" }, "categories": [ "contact" ] }