{"success":true,"data":{"block":{"id":"contact-sales","name":"Contact Sales","title":"Contact Sales","category":"Contact","categorySlug":"contact","description":"Sales inquiry form with company information and product interest. Designed for B2B sales teams and lead generation.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290589/wfwbxp231gqnv2dmyf2wfse854ue/contact-sales-desktop.png","mobile":"https://cdn.ing/assets/i/r/290590/u66smng6mkvwih8pnfqn7t5vchnq/contact-sales-mobile.png"},"componentPath":"blocks/contact/contact-sales.tsx","code":"\"use client\";\n\nimport { ContactSales } from \"@opensite/ui/blocks/contact/contact-sales\";\nimport { demoFormEngineApi } from \"@/lib/form-demo-data\";\nimport type { FormFieldConfig } from \"@opensite/ui\";\n\nconst formFields: FormFieldConfig[] = [\n  {\n    name: \"first_name\",\n    type: \"text\",\n    label: \"First Name\",\n    placeholder: \"First name\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"last_name\",\n    type: \"text\",\n    label: \"Last Name\",\n    placeholder: \"Last name\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"email\",\n    type: \"email\",\n    label: \"Business Email\",\n    placeholder: \"you@company.com\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"phone\",\n    type: \"tel\",\n    label: \"Phone Number\",\n    placeholder: \"+1 (555) 000-0000\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"company\",\n    type: \"text\",\n    label: \"Company Name\",\n    placeholder: \"Your company\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"company_size\",\n    type: \"select\",\n    label: \"Company Size\",\n    required: true,\n    columnSpan: 6,\n    options: [\n      { value: \"1-10\", label: \"1-10 employees\" },\n      { value: \"11-50\", label: \"11-50 employees\" },\n      { value: \"51-200\", label: \"51-200 employees\" },\n      { value: \"201-500\", label: \"201-500 employees\" },\n      { value: \"501-1000\", label: \"501-1,000 employees\" },\n      { value: \"1000+\", label: \"1,000+ employees\" },\n    ],\n  },\n  {\n    name: \"industry\",\n    type: \"select\",\n    label: \"Industry\",\n    required: true,\n    columnSpan: 12,\n    options: [\n      { value: \"technology\", label: \"Technology\" },\n      { value: \"healthcare\", label: \"Healthcare\" },\n      { value: \"finance\", label: \"Financial Services\" },\n      { value: \"retail\", label: \"Retail & E-commerce\" },\n      { value: \"manufacturing\", label: \"Manufacturing\" },\n      { value: \"education\", label: \"Education\" },\n      { value: \"real_estate\", label: \"Real Estate\" },\n      { value: \"other\", label: \"Other\" },\n    ],\n  },\n  {\n    name: \"interest\",\n    type: \"radio\",\n    label: \"What are you interested in?\",\n    required: true,\n    columnSpan: 12,\n    layout: \"grid\",\n    options: [\n      {\n        value: \"demo\",\n        label: \"Schedule a Demo\",\n        description: \"See our product in action with a personalized demo.\",\n      },\n      {\n        value: \"pricing\",\n        label: \"Pricing Information\",\n        description: \"Learn about our plans and find the right fit.\",\n      },\n      {\n        value: \"trial\",\n        label: \"Start a Free Trial\",\n        description: \"Try our platform risk-free for 14 days.\",\n      },\n      {\n        value: \"enterprise\",\n        label: \"Enterprise Solutions\",\n        description: \"Custom solutions for large organizations.\",\n      },\n    ],\n  },\n  {\n    name: \"content\",\n    type: \"textarea\",\n    label: \"Tell us about your needs\",\n    placeholder: \"What challenges are you looking to solve? What goals do you have?\",\n    required: true,\n    rows: 4,\n    columnSpan: 12,\n  },\n];\n\nexport default function Demo() {\n  return (\n    <ContactSales\n      heading=\"Let's Talk About Your Business\"\n      description=\"Connect with our sales team to learn how our solutions can help you achieve your goals. We'll work with you to find the perfect plan for your needs.\"\n      formEngineSetup={{\n        api: demoFormEngineApi,\n        fields: formFields,\n        successMessage: \"Thank you for your interest! A sales representative will reach out to you within 24 hours to discuss your needs.\",\n        formLayoutSettings: {\n          submitButtonSetup: {\n            submitLabel: \"Contact Sales\",\n          },\n        },\n      }}\n      background=\"white\"\n      pattern=\"dashedGridFadeTop\"\n      patternOpacity={0.9}\n    />\n  );\n}","propsSchema":{"heading":{"type":"object","description":"Main heading text","typeLabel":"React.ReactNode","required":false},"description":{"type":"object","description":"Description text below heading","typeLabel":"React.ReactNode","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","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","sales","inquiry","form","b2b","leads"],"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 B2B sales inquiry use case — first/last name, business email, phone, company name, company size select, industry select, and message — do not change the field set unless the site has clearly different requirements. 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:41:24.284Z"}