Card

Integrate information in a card container.

Basic usage

Card includes header, body and footer.

Header

Body

Header

Body


Simple Card

The header and footer part can be omitted.

Lorem, ipsum dolor sit amet consectetur adipisicing elit. Ipsa corporis perspiciatis in iste veritatis blanditiis quo, quibusdam sed, delectus facere culpa maiores! Ipsum eligendi necessitatibus tempora! Inventore, pariatur harum? Minus.


Custom Content

Display richer content by adding some configs.

Title

Description


Shadow

You can define when to show the card shadows

No shadow

Body content

Shadow when hover

Body content

Level 2 shadow

Body content

Level 3 shadow

Body content


Attributes

AttributeDescriptionTypeAccepted ValuesDefault
body-classCSS class of bodystring
header-classCSS class of headerstring
footer-classCSS class of footerstring
shadowwhen to show card shadowsstringlv1 / lv2 / lv3 / hover / neverlv1
borderedenable borderbooleanfalse

Slots

NameDescription
customize default content
headercustomize header content
footercustomize footer content
Last Updated: 10/1/2022, 6:04:27 AM
Contributors: Tam Mai