Card
A card serves as an entry point to more detailed information. Cards may contain rich content, such as photos, text, link, list, tables, you name it.
Example
Card
Content
Variants
Basic
white
Card
Content
Card header and footer
Card header holds a title and possibly an action button. Card footer is usually used for additional information or confirm/cancellation buttons.
white
Title
Content
Card header actions
To add an action button in card header, a Bar is added to wrap things nicely.
white
Content
Multiple content sections
white
Card
Content
Second content
Props
<Card />
This component does not have any prop types
<CardContent />
| Prop | Type | Default | Description |
|---|---|---|---|
| fill | |
<CardHeader />
| Prop | Type | Default | Description |
|---|---|---|---|
| actions | | ||
| title | |
<CardFooter />
This component does not have any prop types
Accessibility
The <Card /> component is purely presentational and does not carry any semantic meaning. The only thing you should care about is the usage of correct heading level in <CardHeader title="" />