ContainerCard
The ContainerCard component encloses content in a distinct, card-like format, often with a title, body, and action buttons. It's ideal for showcasing individual items like products, articles, or profiles. Cards can be styled with shadows, borders, and images, and are effective for organizing content in a visually appealing and digestible manner, especially in grid or list layouts.
Examples
Various examples showcasing different configurations of the component
Property
Value
Elevation
1
Properties
Each component can be customized and configured based on product requirements. You can modify the component on Canonic by clicking on the component and opening the configuration panel.
Property
Description
Default Value
Type
Elevation
The elevation level of the container.
1
String
BG Color
The background color of the container.
#FFFFFF
Color
Default view
The default view to show.
DEFAULT
String
Containers
The views to display in the container. These views can be changed dynamically to show different content in the container.
List
Triggers
Components expose certain events such as clicking. You can use these events to perform actions such as navigation, fetching data and controlling other components. The events exposed by this component are listed below.
Property
Description
On click
Triggered when the card is clicked.
On double click
Triggered when the card is double clicked.
Did you find what you were looking for?
👍
👎
What went wrong?
Need more help?We have a thriving Discordcommunity that can help you with all things Canonic. →