Anatomy
- Outer Container Header
- Prefix Slot (Optional)
- Title
- Header Container
- Suffix Slot (Optional) Body
- Content Slot (Default) Footer
- Footer Slot (Optional)
- Footer Container
Default
| Attribute | Token | Value |
|---|---|---|
| Container | ||
| Box Shadow | card-shadow | |
| Border Width | card-border-width | |
| Border Color | card-color-border | |
| Background Color | card-color-background | |
| Header | ||
| Padding (Top and Bottom) | card-header-padding-y | |
| Padding (Left and Right) | card-header-padding-x | |
| Font Size | font-heading-3-font-size | |
| Font Family | font-heading-3-font-family | |
| Font Weight | font-heading-3-font-weight | |
| Line Height | font-heading-3-line-height | |
| Letter Spacing | font-heading-3-letter-spacing | |
| Body | ||
| Padding | card-body-padding |
With Prefix
| Attribute | Token | Value |
|---|---|---|
| Header | ||
| Dimension | card-header-prefix-dimension | |
| Margin (Right) | card-header-prefix-margin-right |
With Suffix
| Attribute | Token | Value |
|---|---|---|
| Header | ||
| Dimension | card-header-suffix-dimension | |
| Margin (Left) | card-header-suffix-margin-left |
With Footer
| Attribute | Token | Value |
|---|---|---|
| Footer | ||
| Padding | card-footer-padding |