Primitives
Primitive

Card

A versatile container component with header and content areas

The card groups related content on a single surface with optional header, body, and footer regions. Use it for dashboard tiles, list rows, article previews, or any self-contained block that needs its own elevation.

Preview

Card Title
Card description goes here.

This is a simple card component with a header and content section.

Installation

Usage

Composition

Examples

Use CardFooter for actions below the content and CardAction to place a control in the header.

Team Meeting
Scheduled for tomorrow at 2:00 PM

Discuss Q4 roadmap and project priorities with the team.

Variants

Use variant to change how the card is framed.

Default Card
Clean and simple design.

This is the default card variant with minimal styling.

Inset Card
Nested border effect.

This is the inset variant with an outer and inner border design.

ValueDescription
defaultA single elevated surface, the standard card.
insetA gray-framed outer with a lifted inner card.

API Reference

The Card is a custom component that does not extend Base UI.

Props

Card

Container component for grouping related content with optional header, body, and footer sections.

Prop