{"success":true,"data":{"block":{"id":"contact-card","name":"Contact Card Form","title":"Contact Card Form","category":"Contact","categorySlug":"contact","description":"A simple contact form with card layout featuring form fields on one side and contact information with multiple contact methods on the other. Clean, professional design.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290620/vn3rjfng8wj0ww1hnx452ql9m13q/cleanshot-2026-02-21-at-15-33-47.png","mobile":"https://cdn.ing/assets/i/r/290619/zhv93wdajasesuhmsvieqziesyo7/cleanshot-2026-02-21-at-15-34-02.png"},"componentPath":"blocks/contact/contact-card.tsx","code":"\"use client\";\n\nimport { ContactCard } from \"@opensite/ui/blocks/contact/contact-card\";\nimport { demoFormConfig, demoFormEngineApi } from \"@/lib/form-demo-data\";\nimport type { FormFieldConfig } from \"@opensite/ui\";\n\nconst formFields: FormFieldConfig[] = [\n  {\n    name: \"name\",\n    type: \"text\",\n    label: \"Full Name\",\n    placeholder: \"Full Name\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"email\",\n    type: \"email\",\n    label: \"Email\",\n    placeholder: \"your@email.com\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"phone\",\n    type: \"tel\",\n    label: \"Phone\",\n    placeholder: \"+1 (555) 000-0000\",\n    required: false,\n    columnSpan: 12,\n  },\n  {\n    name: \"content\",\n    type: \"textarea\",\n    label: \"Your Message\",\n    placeholder: \"How can we help you today?\",\n    required: true,\n    rows: 4,\n    columnSpan: 12,\n  },\n];\n\nexport default function Demo() {\n  return (\n    <ContactCard\n      heading=\"Get In Touch\"\n      description=\"We'd love to hear from you. Send us a message and we'll respond as soon as possible.\"\n      contactOptions={[\n        {\n          icon: \"lucide/phone\",\n          info: \"+1 (555) 987-6543\",\n          href: \"tel:+15559876543\",\n        },\n        {\n          icon: \"lucide/mail\",\n          info: \"support@example.com\",\n          href: \"mailto:support@example.com\",\n        },\n        {\n          icon: \"lucide/map-pin\",\n          info: \"456 Business Ave, New York, NY 10001\",\n          href: \"https://maps.google.com\",\n        },\n        {\n          icon: \"lucide/clock\",\n          info: \"Mon-Fri: 9 AM - 6 PM EST\",\n          href: \"#\",\n        },\n      ]}\n      formEngineSetup={{\n        api: demoFormEngineApi,\n        fields: formFields,\n        successMessage: \"Thanks for reaching out! We'll be in touch soon.\",\n        formLayoutSettings: {\n          submitButtonSetup: {\n            submitLabel: \"Send Message\",\n          },\n        },\n      }}\n      background=\"gray\"\n      pattern=\"gridFadeTopRight\"\n      patternOpacity={0.9}\n    />\n  );\n}","propsSchema":{"heading":{"type":"object","description":"Main heading content","typeLabel":"React.ReactNode","required":false},"description":{"type":"object","description":"Description text below the heading","typeLabel":"React.ReactNode","required":false},"contactOptions":{"type":"array","description":"Contact options to display with icons","items":{"type":"object","description":"","fields":{"icon":{"type":"string","description":"Icon name for the contact option","required":true},"info":{"type":"string","description":"Contact information text","required":true},"href":{"type":"string","description":"Optional href for the contact option","required":false}},"typeLabel":"ContactOption"},"typeLabel":"ContactOption[]","required":false},"contactOptionsSlot":{"type":"object","description":"Custom slot for rendering contact options (overrides contactOptions array)","typeLabel":"React.ReactNode","required":false},"socialLinks":{"type":"array","description":"Social media links to display","items":{"type":"object","description":"","fields":{"icon":{"type":"string","description":"Icon name for the social platform","required":true},"href":{"type":"string","description":"Link href","required":true},"label":{"type":"string","description":"Accessible label for the link","required":true}},"typeLabel":"ContactDarkSocialLink"},"typeLabel":"ContactDarkSocialLink[]","required":false},"socialLinksSlot":{"type":"object","description":"Custom slot for rendering social links (overrides socialLinks array)","typeLabel":"React.ReactNode","required":false},"formEngineSetup":{"type":"object","description":"Full form engine setup and props","typeLabel":"FormEngineProps","required":false},"className":{"type":"string","description":"Additional CSS classes for the section","required":false},"containerClassName":{"type":"string","description":"Additional CSS classes for the container","required":false},"cardClassName":{"type":"string","description":"Additional CSS classes for the card","required":false},"cardContentClassName":{"type":"string","description":"Additional CSS classes for the card content","required":false},"infoPanelClassName":{"type":"string","description":"Additional CSS classes for the info panel","required":false},"headingClassName":{"type":"string","description":"Additional CSS classes for the heading","required":false},"descriptionClassName":{"type":"string","description":"Additional CSS classes for the description","required":false},"contactOptionsClassName":{"type":"string","description":"Additional CSS classes for the contact options container","required":false},"socialLinksClassName":{"type":"string","description":"Additional CSS classes for the social links container","required":false},"gridClassName":{"type":"string","description":"Additional CSS classes for the two-column grid wrapper","required":false},"background":{"type":"string","description":"Background style for the section","typeLabel":"SectionBackground","required":false},"spacing":{"type":"object","description":"Vertical spacing for the section","fields":{},"typeLabel":"SectionSpacing","required":false},"pattern":{"type":"object","description":"Optional background pattern name or URL","fields":{},"typeLabel":"PatternName","required":false},"patternOpacity":{"type":"number","description":"Pattern overlay opacity (0-1)","required":false},"sectionId":{"type":"string","description":"Optional Section ID","required":false}},"defaultProps":{},"dependencies":["@opensite/ui","@page-speed/forms"],"tags":["contact","form","card","split-layout","contact-info","simple"],"performance":{},"importantUsageNotes":"Ensure to only supply a valid set of contact data points (email, phone, address, etc), DO NOT make up any contact data, if the brand/location hasn't supplied the contact data points, don't generate/guess, just skip over that data point(s) and only use ones stored in the system."}},"timestamp":"2026-05-13T10:39:52.713Z"}