Drupal Canvas List Layout
List layout
Display content in stacked or inline lists
The List layout is a flexible component in Webhaven used to display content in a simple, linear format, either stacked vertically or arranged inline.
This page shows available options, usage examples, and configuration details. Full property definitions are listed in the specifications table below.
List (stack)
This is a title
This is a subtitle
This is some text that you can easily edit.
Item A
Item B
Item C
List (inline)
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
List specifications
An overview of the available properties on every list layout:
| Property | Description |
|---|---|
| Layout | List (stack, inline) |
| Width | List (small, normal, big, full width) to control the width of the list. |
| Spacing | List (none, tight, compact, normal, spacious) to control the spacing on the list. |
| Title | Text |
| Subtitle | Text |
| Text | Text with WYSIWYG editor |
| Classes | List of additional CSS classes to add to the list layout. |
An overview of the available slots on every list layout:
| Slot | Description |
|---|---|
| List | Contains all the components shown in the list. |