{
  "name": "image-carousel",
  "kind": "block",
  "primary": "section",
  "page": "/catalog/ui-patterns/v050-mode-c-blocks/v050-mode-c-blocks.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {},
  "html": "<section>\n    <card-ui>\n      <section>\n        <col-ui gap=\"3\">\n          <text-ui color=\"subtle\" text-align=\"center\" style=\"height: 200px; display:flex; align-items:center; justify-content:center;\">[ slide 2 of 5 ]</text-ui>\n          <row-ui gap=\"2\" align=\"center\">\n            <button-ui icon=\"caret-left\" variant=\"ghost\" size=\"sm\" aria-label=\"Previous slide\"></button-ui>\n            <row-ui gap=\"1\">\n              <text-ui size=\"sm\">●</text-ui>\n              <text-ui size=\"sm\" color=\"accent\">●</text-ui>\n              <text-ui size=\"sm\">●</text-ui>\n              <text-ui size=\"sm\">●</text-ui>\n              <text-ui size=\"sm\">●</text-ui>\n            </row-ui>\n            <button-ui icon=\"caret-right\" variant=\"ghost\" size=\"sm\" aria-label=\"Next slide\"></button-ui>\n          </row-ui>\n        </col-ui>\n      </section>\n    </card-ui>\n  </section>",
  "source": "catalog/ui-patterns/v050-mode-c-blocks/v050-mode-c-blocks.contents.html",
  "metadata": {
    "domain": "layout",
    "description": "Horizontal image carousel — current slide + peek of next/prev + dot indicators + autoplay-pause control.",
    "keywords": [
      "carousel",
      "slider",
      "swiper",
      "image-gallery",
      "slides",
      "photos",
      "hero",
      "rotator",
      "paginated"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "text",
      "component": "Text",
      "color": "subtle",
      "text-align": "center",
      "textContent": "[ slide 2 of 5 ]"
    },
    {
      "id": "previous-slide",
      "component": "Button",
      "aria-label": "Previous slide",
      "icon": "caret-left",
      "size": "sm",
      "variant": "ghost"
    },
    {
      "id": "text-2",
      "component": "Text",
      "size": "sm",
      "textContent": "●"
    },
    {
      "id": "text-3",
      "component": "Text",
      "color": "accent",
      "size": "sm",
      "textContent": "●"
    },
    {
      "id": "text-4",
      "component": "Text",
      "size": "sm",
      "textContent": "●"
    },
    {
      "id": "text-5",
      "component": "Text",
      "size": "sm",
      "textContent": "●"
    },
    {
      "id": "text-6",
      "component": "Text",
      "size": "sm",
      "textContent": "●"
    },
    {
      "id": "row-2",
      "component": "Row",
      "gap": "1",
      "children": [
        "text-2",
        "text-3",
        "text-4",
        "text-5",
        "text-6"
      ]
    },
    {
      "id": "next-slide",
      "component": "Button",
      "aria-label": "Next slide",
      "icon": "caret-right",
      "size": "sm",
      "variant": "ghost"
    },
    {
      "id": "row",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "previous-slide",
        "row-2",
        "next-slide"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "3",
      "children": [
        "text",
        "row"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "card",
      "component": "Card",
      "children": [
        "section"
      ]
    },
    {
      "id": "root",
      "component": "Section",
      "children": [
        "card"
      ]
    }
  ]
}
