Drupal Canvas Carousel Layout
Carousel layout
Create interactive sliders to showcase your content
The Carousel layout is a horizontal scrolling component in Webhaven used to display content in an interactive, swipeable format.
This page shows available options, usage examples, and configuration details. Full property definitions are listed in the specifications table below.
Carousel layout (1 slide displayed)
This is a title
This is a subtitle
This is some text that you can easily edit.
Item A
Item B
Item C
Carousel layout (2 slides displayed)
This is a title
This is a subtitle
This is some text that you can easily edit.
Item A
Item B
Item C
Carousel layout (3 slides displayed)
This is a title
This is a subtitle
This is some text that you can easily edit.
Item A
Item B
Item C
Item D
Carousel layout (4 slides displayed)
This is a title
This is a subtitle
This is some text that you can easily edit.
Item A
Item B
Item C
Item D
Item E
Carousel specifications
An overview of the available properties on every carousel layout:
| Property | Description |
|---|---|
| Width | List (small, normal, big, full width) to control the width of the carousel. |
| Spacing | List (none, tight, compact, normal, spacious) to control the spacing on the carousel. |
| Number of slides | Number of slides displayed in the viewport. If the number of slides is less than or equal to this value, the carousel will not be initialized. |
| Title | Text |
| Subtitle | Text |
| Text | Text with WYSIWYG editor |
| Classes | List of additional CSS classes to add to the carousel layout. |
An overview of the available slots on every carousel layout:
| Slot | Description |
|---|---|
| Carousel | Contains all the components shown in the carousel. |