Carousel
Element type: Dictionary
The carousel component is a user interface element that allows the display of multiple images or other content items in a single, interactive container. It is commonly used to showcase a series of images or content in a visually appealing and space-efficient manner.
Need macOS 14 Sonoma and above.
Carousel only supports Image, Video and Text components at the moment.
Keys
| Name | Type | Possible values | Required |
|---|---|---|---|
| Type | String | Carousel | Required |
| Height | Number | - | |
| CornerRadius | Number | - | |
| AlwaysShowNavigationButtons | Boolean | - | |
| AlwaysShowPageIndicators | Boolean | - | |
| DefaultIndex | Number | - | |
| ScrollDelay | Number | - | |
| Components | Array (Components) | - |
Detail
Type Required
Type: String
Explanation: The type of the component which has to be Carousel.
Height
Type: Number
Default: 300
Explanation: The Carousel component's height, while the width is constrained to the available space within the Slide.
CornerRadius
Type: Number
Default: 30
Explanation: The corner radius of the cards within the carousel.
AlwaysShowNavigationButtons
Type: Boolean
Default: true
Explanation: The key ensures the navigation buttons (arrows) are always visible within the carousel component, providing users with consistent and convenient access to navigate through the content.