{"success":true,"data":{"block":{"id":"contact-callback","name":"Contact Callback Request","title":"Contact Callback Request","category":"Contact","categorySlug":"contact","description":"A comprehensive callback scheduling form with date/time selection, timezone, topic selection, and detailed information fields. Ideal for professional services requiring scheduled consultations.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290559/jnd4ewh1tdfcgo3zkywtrtq0yya5/contact-callback-desktop.png","mobile":"https://cdn.ing/assets/i/r/290560/lli5o7npquru6vbgfeb1frpv73qi/contact-callback-mobile.png"},"componentPath":"blocks/contact/contact-callback.tsx","code":"\"use client\";\n\nimport { ContactCallback } from \"@opensite/ui/blocks/contact/contact-callback\";\nimport { 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: 12,\n  },\n  {\n    name: \"phone\",\n    type: \"tel\",\n    label: \"Phone Number\",\n    placeholder: \"+1 (555) 000-0000\",\n    required: true,\n    columnSpan: 12,\n  },\n  {\n    name: \"email\",\n    type: \"email\",\n    label: \"Email Address\",\n    placeholder: \"your@email.com\",\n    required: false,\n    columnSpan: 12,\n  },\n  {\n    name: \"callback_time\",\n    type: \"radio\",\n    label: \"Preferred Callback Time\",\n    required: true,\n    columnSpan: 12,\n    layout: \"grid\",\n    options: [\n      {\n        value: \"morning\",\n        label: \"Morning\",\n        description: \"8 AM - 12 PM\",\n      },\n      {\n        value: \"afternoon\",\n        label: \"Afternoon\",\n        description: \"12 PM - 5 PM\",\n      },\n      {\n        value: \"evening\",\n        label: \"Evening\",\n        description: \"5 PM - 8 PM\",\n      },\n    ],\n  },\n  {\n    name: \"content\",\n    type: \"textarea\",\n    label: \"What can we help you with?\",\n    placeholder: \"Briefly describe what you'd like to discuss...\",\n    required: false,\n    rows: 3,\n    columnSpan: 12,\n  },\n];\n\nexport default function Demo() {\n  return (\n    <ContactCallback\n      heading=\"Request a Callback\"\n      description=\"Prefer to talk? Leave your number and our team will call you back at your preferred time. We typically respond within 2-4 hours during business hours.\"\n      formEngineSetup={{\n        api: demoFormEngineApi,\n        fields: formFields,\n        successMessage: \"Thank you! We'll call you back during your preferred time window.\",\n        formLayoutSettings: {\n          submitButtonSetup: {\n            submitLabel: \"Request Callback\",\n          },\n        },\n      }}\n      background=\"gray\"\n      pattern=\"dashedGridFadeTop\"\n      patternOpacity={1}\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},"callbackProcessLabel":{"type":"string","description":"Label for the callback process info box heading","required":false},"callbackProcessDescription":{"type":"string","description":"Description for the callback process info box","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},"headerClassName":{"type":"string","description":"Additional CSS classes for the header wrapper","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},"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},"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},"formEngineSetup":{"type":"object","description":"Full form engine setup and props","typeLabel":"FormEngineProps","required":false},"sectionId":{"type":"string","description":"Optional Section ID","required":false}},"defaultProps":{},"dependencies":["@opensite/ui","@page-speed/forms"],"tags":["contact","callback","scheduling","form","appointment","consultation","professional-services"],"performance":{},"importantUsageNotes":"Ensure to follow the form implementation requirements properly (correct field types, labels, validation, and submit handling). The form fields shown in the demo are calibrated for a callback request use case — full name, phone (required), email (optional), preferred callback time radio (morning/afternoon/evening), and optional message textarea — do not change the field set unless the site has clearly different requirements. Preserve the 'callbackProcessLabel' and 'callbackProcessDescription' props to explain the callback process to users. Ensure to only supply a valid set of contact data points (email, phone, address, etc), DO NOT make up any contact data. Follow the example props closely for this block."}},"timestamp":"2026-05-13T10:38:00.569Z"}