Card
Integrate information in a card container.
Basic usage
Card includes title, content and operations.
Simple card
The header part can be omitted.
With images
Display richer content by adding some configs.
Shadow
You can define when to show the card shadows
Attributes
Attribute | Description | Type | Accepted Values | Default |
---|---|---|---|---|
header | title of the card. Also accepts a DOM passed by slot#header | string | — | — |
body-style | CSS style of body | object | — | { padding: '20px' } |
shadow | when to show card shadows | string | always / hover / never | always |
Slots
Name | Description |
---|---|
— | customize default content |