---
title: Carousel Banner Block
slug: carousel-banner-block
createdAt: 2023-05-07T12:52:20.000Z
---

Carousel banner block, i.e. slidder component, is designed to display graphic banners with carousel effects. It is mostly used on home page, e.g. home page main slider.

# Carousel Properties

For the banner block, it contains the following properties:

**slides** - an array of slides defined for the carousel.



# Carousel Slide Properties

For each banner/slide within the block design, We have the following properties that can be configured in MGMT and rendered on OElite websites:

**imageUrl** - full url for rendering the banner image

**imageInlineStyles** - additional image css inline styles for customization

**ImageCssClassNames - additional image css class names for customization**

**title** - main heading text to be displayed on top of the banner image

**titleInlineStyles** - additional title css inline styles for customization

**titleCssClassNames** - additional css class names for title

**subtitle** - subheading text to be displayed on top of the banner image

**subtitleInlineStyles** - additional inline styles for subtitle

**subtitleCssClassNames** - additional css class names for subtitle

**bannerUrl** - if no button is provided, user will be redirected to the bannerUrl when clicking on the banner

**bannerUrlTarget** - target for the bannerUrl

**buttonText** - text for the button to be displayed on the banner image

**buttonHtml** - html for the button to be displayed on the banner image. Note if buttonHtml is provided, buttonText will be ignored.

**buttonUrl** - destination url when user clicks on the button.

**buttonUrlTarget** - url target (\_self/\_parent/\_blank) when user clicks on the button

**buttonInlineStyles** - additional inline styles for button

**buttonCssClassNames** - additional css class names for button



# Image Properties

Note the image used within the banner should be sourced from Image Manager - user can either upload a new banner or choose a banner from existing uploaded media library of the website.





