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 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

Title

Content

Multiple content sections

white

Card

Content

Second content

Props

<Card />

This component does not have any prop types

<CardContent />
PropTypeDefaultDescription
fill
bool
<CardHeader />
PropTypeDefaultDescription
actions
node
title
node | string | element
<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="" />

Lighter

    v1.0.0