Fragments

App Card

A card layout for app sections with optional icon, header action, separator, and footer.

Formance
Docs

A card layout for app sections with optional icon, header action, and footer. Built on top of the Card, Button, and Typography atoms.

For empty states, see AppCardEmpty.

Pass a CardFooter to the footer prop for informative or destructive callouts below the content.

With empty state#

Render AppCardEmpty as the content when there is no data — typical for list pages before the first record exists.

With data table#

Wrap a DataTable to scope a section's listing inside its own card with title and actions.

Grid aligned#

Set contentAlign to end when cards share a grid row. The content moves to the bottom of each card, so the actions stay on one line when the descriptions have different lengths.

API reference#

AppCard#

PropTypeDefaultDescription
titlestring-The card title.
descriptionstring-The text below the title.
appIconLucideIcon-The icon before the title.
iconVariantTButtonProps['variant']-The colour of the icon.
headerActionReactNode-The action at the right of the header. It is hidden when isEmpty is set.
headerContentReactNode-More content next to the title, for example a badge.
footerReactNode-The content below the card content, for example a CardFooter.
isEmptybooleanfalseHides the header action.
contentAlign"start" | "end""start"Where the content sits when the card is taller than its content. end moves the content and the footer to the bottom.
classNamestring-More classes for the card.