{"success":true,"data":{"block":{"id":"faq-badge-support","name":"Badge Header FAQ with Support CTA","title":"FAQ Badge Support","category":"Faq","categorySlug":"faq","description":"A comprehensive FAQ section featuring a badge label, centered heading with description, accordion items, and a dedicated support call-to-action section at the bottom. The separator and contact button encourage users to reach out if they can't find their answer. Ideal for customer service pages.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/291561/dij9ph18bkv83nuct58xyepj4ph9/cleanshot-2026-02-26-at-21-31-19-2x.png","mobile":"https://cdn.ing/assets/i/r/291560/zgdzj5p1drum8uvlr1pyjkpqlf6e/cleanshot-2026-02-26-at-21-31-46-2x.png"},"componentPath":"blocks/faq/faq-badge-support.tsx","code":"import { FaqBadgeSupport } from \"@opensite/ui/blocks/faq/faq-badge-support\";\nimport { DynamicIcon } from \"@opensite/ui/components/dynamic-icon\";\n\nexport default function Demo() {\n  return (\n    <FaqBadgeSupport\n      badge=\"Support\"\n      heading=\"Frequently Asked Questions\"\n      description=\"Can't find what you're looking for? Our support team is here to help.\"\n      items={[\n        {\n          id: \"account\",\n          question: \"How do I reset my password?\",\n          answer:\n            \"Click 'Forgot Password' on the login page, enter your email, and we'll send you a secure reset link. The link expires after 24 hours for security.\",\n        },\n        {\n          id: \"roles\",\n          question: \"What user roles are available?\",\n          answer:\n            \"We offer Admin, Manager, Member, and Guest roles. Each role has specific permissions for viewing, editing, and managing content and team members.\",\n        },\n        {\n          id: \"notifications\",\n          question: \"Can I customize notification settings?\",\n          answer:\n            \"Yes, you have granular control over email, push, and in-app notifications. Set preferences for mentions, updates, deadlines, and more.\",\n        },\n        {\n          id: \"export\",\n          question: \"Can I export my data?\",\n          answer:\n            \"Yes, export your data anytime in CSV, Excel, or JSON formats. Enterprise plans also support automated exports and API-based data retrieval.\",\n        },\n      ]}\n      supportText=\"Still have questions?\"\n      supportAction={{\n        label: \"Contact Support\",\n        href: \"#\",\n        variant: \"default\",\n        asButton: true,\n        size: \"lg\",\n        iconAfter: <DynamicIcon name=\"lucide/arrow-up-right\" />,\n      }}\n      pattern=\"architect\"\n      patternOpacity={0.05}\n      background=\"gray\"\n    />\n  );\n}","propsSchema":{"badge":{"type":"object","description":"Badge content","typeLabel":"React.ReactNode","required":false},"heading":{"type":"object","description":"Main heading content","typeLabel":"React.ReactNode","required":false},"description":{"type":"object","description":"Description text below heading","typeLabel":"React.ReactNode","required":false},"items":{"type":"array","description":"Array of FAQ items","items":{"type":"object","description":"","fields":{"question":{"type":"object","description":"","typeLabel":"React.ReactNode","required":true},"answer":{"type":"object","description":"","typeLabel":"React.ReactNode","required":true}},"typeLabel":"FaqItem"},"typeLabel":"FaqItem[]","required":false},"itemsSlot":{"type":"object","description":"Custom slot for rendering items (overrides items array)","typeLabel":"React.ReactNode","required":false},"supportText":{"type":"object","description":"Support section text","typeLabel":"React.ReactNode","required":false},"supportAction":{"type":"object","description":"Support section CTA configuration","fields":{"variant":{"type":"string","description":"","typeLabel":"\"default\" | \"destructive\" | \"outline\" | \"secondary\" | \"ghost\" | \"link\"","required":false},"size":{"type":"string","description":"","typeLabel":"\"default\" | \"sm\" | \"md\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"","required":false},"label":{"type":"object","description":"Button/link label text or ReactNode","typeLabel":"ReactNode","required":false},"icon":{"type":"object","description":"Icon to display (typically before label)","typeLabel":"ReactNode","required":false},"iconAfter":{"type":"object","description":"Icon to display after the label","typeLabel":"ReactNode","required":false},"href":{"type":"string","description":"URL for link behavior","required":false},"onClick":{"type":"object","description":"Click handler for button behavior","typeLabel":"MouseEventHandler","required":false},"className":{"type":"string","description":"Additional CSS classes for the action","required":false},"children":{"type":"object","description":"Custom children (overrides label + icon rendering)","typeLabel":"ReactNode","required":false},"aria-label":{"type":"string","description":"ARIA label for accessibility","required":false},"asButton":{"type":"boolean","description":"Render as a button element instead of an anchor/link","required":false}},"typeLabel":"ActionConfig","required":false},"supportSlot":{"type":"object","description":"Custom slot for support section (overrides supportText and supportAction)","typeLabel":"React.ReactNode","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},"patternClassName":{"type":"string","description":"Additional CSS classes for the pattern overlay","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},"badgeClassName":{"type":"string","description":"Additional CSS classes for the badge","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},"accordionClassName":{"type":"string","description":"Additional CSS classes for the accordion","required":false},"accordionItemClassName":{"type":"string","description":"Additional CSS classes for accordion items","required":false},"accordionTriggerClassName":{"type":"string","description":"Additional CSS classes for accordion triggers","required":false},"accordionContentClassName":{"type":"string","description":"Additional CSS classes for accordion content","required":false},"supportSectionClassName":{"type":"string","description":"Additional CSS classes for the support section","required":false},"sectionId":{"type":"string","description":"Optional Section ID","required":false}},"defaultProps":{},"dependencies":["@opensite/ui"],"tags":["faq","questions","answers","accordion","badge","support","contact","help","customer-service","cta"],"performance":{},"importantUsageNotes":"Use between 4-8 'items' for this accordion layout. Each item requires a unique 'id', a 'question', and an 'answer'. The 'supportAction' is a single CTA — use a variant of 'default' for it. Always supply a real 'supportText' and 'supportAction' pointing to a valid support or contact page; do not fabricate support URLs. Follow the example props closely for this block."}},"timestamp":"2026-05-13T10:41:39.107Z"}