<cla-card>

Card component which is designed to work with a range of custom components.

Standard HTML elements can be nested as well and will appear in the card body.

You can truncate the text in the title or text using the .truncate-title and/or .truncate-text style classes.

Usage

Properties

PropertyRequiredDescriptionTypeDefault
hreffalseCard link - attached to card title and media slotstringnull
statusborderfalseStatus border - if the card has a status border you can set the colour here e.g. "#000";stringnull
styleclassfalseStyle Class - adds class to the card for styling and rounded cornersstringnull

Slots

SlotDescription
cardtopAllows for content at the top of the card including figures, images and headers.
footerAllows a footer to be added to the card.
menuAllows a menu to be added.
noneThis is the main content of the card