{"success":true,"data":{"block":{"id":"hero-adaptable-product-grid","name":"Adaptable Product Grid Hero","title":"Hero Adaptable Product Grid","category":"Hero","categorySlug":"hero","description":"A flexible hero with an adaptable product grid layout. Showcases multiple products or features in a responsive grid.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290366/uv4qtfn3edl45ax81guo40k04i20/cleanshot-2026-02-18-at-09-27-11.png","mobile":"https://cdn.ing/assets/i/r/290365/5t8td46oq32417ytzaei4p21dah0/cleanshot-2026-02-18-at-09-27-26.png"},"componentPath":"blocks/hero/hero-adaptable-product-grid.tsx","code":"import { imagePlaceholders } from \"@/lib/media\";\nimport { HeroAdaptableProductGrid } from \"@opensite/ui/blocks/hero/hero-adaptable-product-grid\";\nimport { DynamicIcon } from \"@opensite/ui/components/dynamic-icon\";\n\nexport default function Demo() {\n  return (\n    <HeroAdaptableProductGrid\n      heading=\"Flexible product displays that adapt to your brand\"\n      description=\"Create stunning product showcases with our adaptable grid system. Perfect for e-commerce, portfolios, and catalogs.\"\n      actions={[\n        {\n          label: \"Browse Products\",\n          href: \"#\",\n          variant: \"default\",\n          iconAfter: <DynamicIcon name=\"lucide/shopping-cart\" size={16} />,\n        },\n      ]}\n      imageSrc={imagePlaceholders[10]}\n      imageAlt=\"Product showcase\"\n      background=\"dark\"\n    />\n  );\n}","propsSchema":{"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},"actions":{"type":"array","description":"CTA action configuration","items":{"type":"object","description":"","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"},"typeLabel":"ActionConfig[]","required":false},"actionsSlot":{"type":"object","description":"Custom slot for rendering action (overrides action)","typeLabel":"React.ReactNode","required":false},"imageSrc":{"type":"string","description":"Logo/image source URL","required":false},"imageAlt":{"type":"string","description":"Logo/image alt text","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","fields":{},"typeLabel":"PatternName","required":false},"patternOpacity":{"type":"number","description":"Pattern overlay opacity (0-1)","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},"headingClassName":{"type":"string","description":"Additional CSS classes for the heading","required":false},"descriptionClassName":{"type":"string","description":"Additional CSS classes for the description","required":false},"contentClassName":{"type":"string","description":"Additional CSS classes for the content column","required":false},"imageContainerClassName":{"type":"string","description":"Additional CSS classes for the image container","required":false},"imageClassName":{"type":"string","description":"Additional CSS classes for the image","required":false},"actionsClassName":{"type":"string","description":"Additional CSS classes for the actions container","required":false},"optixFlowConfig":{"type":"object","description":"OptixFlow image optimization configuration","fields":{"apiKey":{"type":"string","description":"API key for OptixFlow service","required":true},"compression":{"type":"number","description":"Compression level (0-100)","required":false}},"typeLabel":"OptixFlowConfig","required":false},"sectionId":{"type":"string","description":"Optional Section ID","required":false}},"defaultProps":{},"dependencies":["@opensite/ui"],"tags":["hero","adaptable","product","grid","flexible","responsive","showcase","features"],"performance":{},"importantUsageNotes":"Do not exceed 60 characters for the 'heading' prop. Do not exceed 130 characters for the 'description' prop. If you supply multiple 'actions', ensure to use a variant of 'default' for the first action, and 'outline' for the second action to ensure proper visual distinction between the two CTAs. Follow the example props closely for this block."}},"timestamp":"2026-05-13T10:42:18.928Z"}