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
Attribute | Description | Type | Accepted Values | Default |
---|---|---|---|---|
body-class | CSS class of body | string | — | — |
header-class | CSS class of header | string | — | — |
footer-class | CSS class of footer | string | — | — |
shadow | when to show card shadows | string | lv1 / lv2 / lv3 / hover / never | lv1 |
bordered | enable border | boolean | — | false |
Slots
Name | Description |
---|---|
— | customize default content |
header | customize header content |
footer | customize footer content |