{"success":true,"data":{"block":{"id":"carousel-horizontal-cards","name":"Carousel Horizontal Cards","title":"Carousel Horizontal Cards","category":"Carousel","categorySlug":"carousel","description":"A horizontal scrolling card carousel with animated entrance effects, navigation buttons, and stat displays. Features smooth scroll behavior with dynamic button visibility based on scroll position.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/295065/y51gs34zjnx8stiwwnorul7skddi/carousel-horizontal-cards-desktop.png","mobile":"https://cdn.ing/assets/i/r/295067/r5c5mmp9ltrtfztfit7sh2xk2kph/carousel-horizontal-cards-mobile.png"},"componentPath":"blocks/carousel/carousel-horizontal-cards.tsx","code":"import { CarouselHorizontalCards } from \"@opensite/ui/blocks/carousel/carousel-horizontal-cards\";\nimport { imagePlaceholders } from \"@/lib/media\";\n\nexport default function Demo() {\n  return (\n    <CarouselHorizontalCards\n      heading=\"Trending Destinations\"\n      subtitle=\"Discover the world's most captivating travel experiences\"\n      headingHref=\"#\"\n      items={[\n        {\n          id: \"santorini\",\n          imageSrc: imagePlaceholders[7],\n          title: \"Santorini, Greece\",\n          count: \"2,847\",\n          countLabel: \"Travel Experiences\",\n        },\n        {\n          id: \"kyoto\",\n          imageSrc: imagePlaceholders[22],\n          title: \"Kyoto, Japan\",\n          count: \"3,192\",\n          countLabel: \"Cultural Tours\",\n        },\n        {\n          id: \"patagonia\",\n          imageSrc: imagePlaceholders[38],\n          title: \"Patagonia, Chile\",\n          count: \"1,563\",\n          countLabel: \"Adventure Activities\",\n        },\n        {\n          id: \"reykjavik\",\n          imageSrc: imagePlaceholders[51],\n          title: \"Reykjavik, Iceland\",\n          count: \"2,104\",\n          countLabel: \"Northern Lights Tours\",\n        },\n        {\n          id: \"marrakech\",\n          imageSrc: imagePlaceholders[69],\n          title: \"Marrakech, Morocco\",\n          count: \"1,876\",\n          countLabel: \"Cultural Experiences\",\n        },\n        {\n          id: \"queenstown\",\n          imageSrc: imagePlaceholders[84],\n          title: \"Queenstown, New Zealand\",\n          count: \"2,341\",\n          countLabel: \"Outdoor Adventures\",\n        },\n        {\n          id: \"barcelona\",\n          imageSrc: imagePlaceholders[99],\n          title: \"Barcelona, Spain\",\n          count: \"4,127\",\n          countLabel: \"City Tours\",\n        },\n        {\n          id: \"bali\",\n          imageSrc: imagePlaceholders[112],\n          title: \"Bali, Indonesia\",\n          count: \"3,658\",\n          countLabel: \"Wellness Retreats\",\n        },\n      ]}\n      pattern=\"diagonalCrossBasic\"\n      patternOpacity={0.7}\n      background=\"white\"\n    />\n  );\n}","propsSchema":{"heading":{"type":"object","description":"Main heading content","typeLabel":"React.ReactNode","required":false},"subtitle":{"type":"object","description":"Subtitle/description text","typeLabel":"React.ReactNode","required":false},"headingHref":{"type":"string","description":"URL for the heading link","required":false},"items":{"type":"array","description":"Array of card items","items":{"type":"object","description":"","fields":{"id":{"type":"object","description":"Unique identifier for the card","typeLabel":"string | number","required":true},"imageSrc":{"type":"string","description":"Image source URL","required":true},"title":{"type":"object","description":"Card title","typeLabel":"React.ReactNode","required":false},"count":{"type":"object","description":"Stat count value","typeLabel":"React.ReactNode","required":false},"countLabel":{"type":"object","description":"Label for the count","typeLabel":"React.ReactNode","required":false},"actions":{"type":"array","description":"Array of action configurations for buttons/links on the card","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},"className":{"type":"string","description":"Additional CSS classes for the card","required":false},"imageClassName":{"type":"string","description":"Additional CSS classes for the image","required":false}},"typeLabel":"CardItem"},"typeLabel":"CardItem[]","required":false},"itemsSlot":{"type":"object","description":"Custom slot for rendering items (overrides items array)","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},"subtitleClassName":{"type":"string","description":"Additional CSS classes for the subtitle","required":false},"carouselClassName":{"type":"string","description":"Additional CSS classes for the carousel container","required":false},"navigationClassName":{"type":"string","description":"Additional CSS classes for the navigation buttons","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},"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},"sectionId":{"type":"string","description":"Optional Section ID","required":false}},"defaultProps":{},"dependencies":["@opensite/ui"],"tags":["carousel","cards","horizontal","scroll","features","products","team","testimonials","stats"],"performance":{},"importantUsageNotes":"Use 5-10 items in the 'items' array — each card requires a real image URL via the 'imageSrc' field. DO NOT USE this block if you don't have at least 5 valid real images. Only use real, verifiable values for 'count' and 'countLabel'; do not invent metrics or statistics. Do not exceed 60 characters for the section 'heading' prop and 130 characters for the 'subtitle' prop. Follow the example props closely for this block."}},"timestamp":"2026-05-13T10:41:23.642Z"}