Carousel

Creates an easy to use carousel component.

Once imported it can be modified the way you want.

Prefixes

  • ch-carousel
  • ch-carouselTS

Props

Carousel takes the following props:

  • data: CarouselData[]
  • fullscreen?: boolean
  • timer?: boolean
  • interval?: number
  • arrows?: boolean
  • dots?: boolean

CarouselData contains the following props:

  • title?: string
  • description?: string
  • show?: boolean
  • element: ReactNode
  • video?: boolean;

Example: An example of the usage is provided in the snippet.

Preview