Card

The Card component is a flexible container for displaying information, media, and actions in a consistent layout.

Usage & Examples

Default Card

Default Card

This is a simple card with default props.

default-card.tsx
<Card title="Default Card" description="This is a simple card with default props." imageUrl={Logo} />

Props API

57 props
Columns
Card props API
Default
Description
actionButtonClassNamestringNopropsCustom class name for each action button.
actionButtonsActionButton[]Noprops[]List of action buttons to render in the footer.
actionsClassNamestringNopropsCustom class name for the actions wrapper.
align"left" | "right" | "center"Noprops"center"Alignment of card content ('left' | 'right' | 'center').
aria-atomicbooleanNoariaMarks the card as atomic for live region updates.
aria-controlsstringNoariaIndicates the controlled element id if the card acts as a controller.
aria-currentboolean | "page" | "step" | "location" | "date" | "time"NoariaIndicates current item state when the card is used in navigation-like UIs.
aria-describedbystringNoariaOptional ARIA description reference ID.
aria-expandedbooleanNoariaIndicates expanded state if the card controls collapsible content.
aria-labelstringNoariaOptional ARIA label for the card.
aria-labelledbystringNoariaOptional ARIA label reference ID for accessibility.
aria-live"off" | "polite" | "assertive"NoariaLive-region politeness, usually only useful for dynamic card content.