{"success":true,"data":{"block":{"id":"auto-scroll-carousel","name":"Auto Scroll Carousel","title":"Auto Scroll Carousel","category":"Gallery","categorySlug":"gallery","description":"A continuously auto-scrolling carousel with staggered image layout. Features automatic scrolling using embla-carousel-auto-scroll, alternating vertical offsets for visual interest, and smooth infinite loop. Ideal for client logos, partner showcases, image galleries, or any content that benefits from passive browsing.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290123/0fkyuodn2zjfbbv13b91ulbxlku5/auto-scroll-carousel-desktop.png","mobile":"https://cdn.ing/assets/i/r/290122/20tfw533htj7vmlsib4s5p3uuceb/auto-scroll-carousel-mobile.png"},"componentPath":"blocks/gallery/auto-scroll-carousel.tsx","code":"import { AutoScrollCarousel } from \"@opensite/ui/blocks/gallery/auto-scroll-carousel\";\nimport { imagePlaceholders } from \"@/lib/media\";\n\nexport default function Demo() {\n  return (\n    <AutoScrollCarousel\n      heading=\"Bringing your data to life with AI\"\n      description=\"Our team of data scientists and AI engineers transform complex datasets into actionable insights that drive business growth and innovation.\"\n      action={{\n        label: \"Explore our solutions\",\n        href: \"#\",\n      }}\n      images={[\n        { src: imagePlaceholders[0], alt: \"Team collaboration\" },\n        { src: imagePlaceholders[1], alt: \"Data analytics dashboard\" },\n        { src: imagePlaceholders[2], alt: \"AI model training\" },\n        { src: imagePlaceholders[3], alt: \"Research and development\" },\n        { src: imagePlaceholders[4], alt: \"Innovation workshop\" },\n        { src: imagePlaceholders[5], alt: \"Technology showcase\" },\n        { src: imagePlaceholders[6], alt: \"Product demonstration\" },\n        { src: imagePlaceholders[7], alt: \"Client presentation\" },\n        { src: imagePlaceholders[8], alt: \"Team meeting\" },\n        { src: imagePlaceholders[9], alt: \"Office environment\" },\n        { src: imagePlaceholders[10], alt: \"Creative workspace\" },\n        { src: imagePlaceholders[11], alt: \"Team collaboration\" },\n      ]}\n      autoScrollSpeed={0.5}\n      background=\"gray\"\n      spacing=\"pt-6 pb-20 md:pt-32 md:pb-32\"\n      pattern=\"gridDotsBasic\"\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 heading","typeLabel":"React.ReactNode","required":false},"action":{"type":"object","description":"Link/action configuration for the CTA","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},"actionSlot":{"type":"object","description":"Custom slot for rendering the action (overrides action prop)","typeLabel":"React.ReactNode","required":false},"images":{"type":"array","description":"Array of images to display in the carousel","items":{"type":"object","description":"","fields":{"src":{"type":"string","description":"Image source URL","required":true},"alt":{"type":"string","description":"Alt text for accessibility","required":false},"className":{"type":"string","description":"Additional CSS classes for the image","required":false}},"typeLabel":"AutoScrollCarouselImage"},"typeLabel":"AutoScrollCarouselImage[]","required":false},"imagesSlot":{"type":"object","description":"Custom slot for rendering images (overrides images array)","typeLabel":"React.ReactNode","required":false},"autoScrollSpeed":{"type":"number","description":"Auto-scroll speed","required":false},"className":{"type":"string","description":"Additional CSS classes for the section","required":false},"headerClassName":{"type":"string","description":"Additional CSS classes for the header 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},"actionClassName":{"type":"string","description":"Additional CSS classes for the action link","required":false},"carouselClassName":{"type":"string","description":"Additional CSS classes for the carousel wrapper","required":false},"carouselContentClassName":{"type":"string","description":"Additional CSS classes for the carousel content","required":false},"itemClassName":{"type":"string","description":"Additional CSS classes for each carousel item","required":false},"imageClassName":{"type":"string","description":"Additional CSS classes for each image","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},"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":["gallery","carousel","auto-scroll","infinite","logos","partners","clients","staggered"],"performance":{},"importantUsageNotes":"DO NOT USE this block unless you have at least 8 real images from the site's media library; the demo uses 12 images for a smooth auto-scroll loop. Provide 8-12 items in the 'images' array. All image 'src' values must be real URLs from the media library — do not use placeholder or invented URLs. Follow the example props closely for this block."}},"timestamp":"2026-05-13T10:40:40.519Z"}