Simple card content layout.
import '@amber-ds/components/card';
<amber-card>
<p>Content here</p>
</amber-card>
Name | Type | Default value | Description |
---|---|---|---|
title | String | '' | The title of the card, the card header is not rendered if empty |
taxonomy | String | '' | The text of the taxonomy of the card, it will not be rendered if empty |
media | String | '' | The url of an image for the card cover, the figure will not be rendered if empty |
background | String | 'white' | The background color of the card, options: 'white' and 'light' |