Results Carousel

Description: Displays a scrollable collection of related search results in a carousel format.

API Response Structure:

{
  "carousel": {
    "title": "Related Results",
    "items": [
      {
        "content": {
          "title": "Item Title",
          "description": "Brief description",
          "image": "https://example.com/image.jpg",
          "url": "https://example.com/item"
        },
        "metadata": {
          "type": "Article/Product/Image",
          "date": "2023-08-15",
          "source": "Source Name"
        },
        "metrics": {
          "views": "1K+",
          "engagement": "High",
          "relevance": 0.95
        }
      }
    ],
    "navigation": {
      "total": 10,
      "current": 1,
      "hasNext": true,
      "hasPrevious": false
    }
  },
  "display": {
    "style": "Card/Slider/Grid",
    "itemsPerView": 4,
    "autoplay": false,
    "loop": true
  },
  "filters": {
    "type": ["All", "Images", "Videos"],
    "date": ["Recent", "Past Week", "Past Month"]
  },
  "type": "resultsCarousel"
}

Fields:

  • carousel (object): Carousel container

    • title (string): Section title

    • items (array): Content items

    • navigation (object): Carousel controls

  • display (object): Visual settings

  • filters (object): Content filters

  • type (string): Always "resultsCarousel"