Cards

Flexible content containers with optional headers, bodies, and footers.

Basic Card

The basic card class creates a bordered container perfect for grouping related content.

Basic Card

Card Title

This is a basic card with just a body. Perfect for simple content grouping.

Card Variants

Elevated Card

Use card-elevated for a card with shadow elevation effect.

Elevated Card

Elevated Card

This card has a subtle shadow for a floating effect.

Outlined Card

Use card-outlined for a card with a more prominent border.

Outlined Card

Outlined Card

This card has a more prominent border style.

Card Sections

Cards can include header, body, and footer sections for structured content.

Full Card Structure

Card Header

This card demonstrates all three sections: header, body, and footer.

The body contains the main content.

Common Patterns

Profile Card

User Profile Card

JD

John Doe

Product Designer

DesignUI/UX

Product Card

Product Card

Premium Widget

New

A high-quality widget for your next project.

$49

Stats Card

Statistics Card

Total Revenue
$45,231
↑ 12.5% from last month

Card Grid

Combine cards with grid utilities for responsive layouts.

Card Grid

Feature One

Description of feature one.

Feature Two

Description of feature two.

Feature Three

Description of feature three.

Accessibility

Best Practices:
  • Use semantic heading tags (h2, h3) for card titles
  • Ensure sufficient color contrast for text content
  • If cards are interactive, make them keyboard accessible
  • Use aria-label or aria-labelledby for context