1. Canvas Components
  2. Carousel View Component

Canvas Components

Carousel View Component

Explains the carousel canvas component for hosted Webchat. Useful for horizontal image lists, product choices, media previews, and visual selection flows.

The carousel view component allows you to display a horizontal scrollable list of images within the webchat interface.

Example Usage

        {
  "platforms": {
    "webchat": {
      "sessionuuid": "~~stub.data._incoming_webchat_data.sessionuuid",
      "webchat_control_event": {
        "action": "render_component",
        "params": {
          "component_type": "carousel",
          "component_params": {
            "images": [
              "IMAGE_URL",
              "IMAGE_URL"
            ]
          }
        }
      }
    }
  }
}

      

Parameters

  • images - Array of image URLs to display in the carousel