Basic card
This is a basic padded card. Use contentLayout to adjust padding / borders.
Card component for displaying content in a container with padding and a shadow.
This is a basic padded card. Use contentLayout to adjust padding / borders.
Controlled via contentLayout padded (default), borderedHeader, noPadding.
Standard internal padding.
Adds a border between the header & top padding to the content.
You control spacing completely.
Use <Card.HeaderAfter> to append controls on the right side of the header.
Use <Card.Header.After> for right-aligned controls.
isSecondary reduces internal spacing; isParent adds an outer border and subdued background for nested cards; disabled applies a disabled state to the card title.
Reduced internal spacing and title style.
Content
Content
| Name | Default | Type | Description |
|---|---|---|---|
contentLayout | -- | ContentLayout | -- |
isParent | -- | boolean | -- |
isSecondary | -- | boolean | -- |
No component-specific props
| Name | Default | Type | Description |
|---|---|---|---|
disabled | -- | boolean | -- |
No component-specific props
No component-specific props
No component-specific props