GitHub

Card

Flexible content container with header, body, media, and footer sections.

Basic Card

Card Title

Subtitle text

This is a basic card with body content. Cards are flexible containers for grouping related information.

With Media

Sample

Mountain View

A beautiful landscape captured during golden hour.

With Header

Project Update

Last updated 2 hours ago

The migration to v3 is progressing well. All core components have been updated.

Style Variants

Shadow

Default card with shadow

Bordered

Card with border

Dashed

Card with dashed border

Elevated

Card with larger shadow

Colors

Primary

Colored card

Secondary

Colored card

Accent

Colored card

Neutral

Colored card

Glass

Glass Card

Glassmorphism effect with frosted background blur.

Horizontal (Side)

Sample

Side Layout

Image sits beside the content in a horizontal layout.

Image Full (Overlay)

Sample

Overlay Content

Text displayed over the full-bleed background image.

Sizes

Small

Compact card with reduced padding.

Default

Standard card with default padding.

Large

Spacious card with increased padding.

Clickable / Hoverable

Clickable

Hover to see the lift effect.

Disabled

Card is non-interactive.

Card Grid

Card 1

Auto-fill grid layout.

Card 2

Responsive columns.

Card 3

Fills available space.

Practical Examples

Real-world card compositions using the base card classes. No extra CSS needed — just different content structures.

Product Card (E-commerce)

Product
In Stock

Wireless Headphones

Premium noise-cancelling

$299 $399

Employee Card (HR)

JD

Jane Doe

Senior Developer

Active
Department
Engineering
Location
New York
Employee ID
EMP-0042
Start Date
Jan 2023

POS Product Card (Point of Sale)

Coffee

Espresso

$3.50
Latte

Caffè Latte

$4.50
Croissant

Croissant

$2.80
+

Add Item

Subscription / Pricing Card

Basic

$9 /month
✓ 5 Projects ✓ 1 GB Storage ✓ Email Support
Popular

Pro

$29 /month
✓ Unlimited Projects ✓ 50 GB Storage ✓ Priority Support ✓ API Access

Enterprise

$99 /month
✓ Everything in Pro ✓ 500 GB Storage ✓ Dedicated Support ✓ Custom Integrations ✓ SLA 99.9%

KPI / Dashboard Card

Revenue +12.5%
$48,350
78% of target
Users -3.2%
1,284
42% of target
Orders +0.8%
356
91% of target

Event Card (Calendar)

Team Standup

Daily
🕐 9:00 - 9:30 AM 📍 Room A
+5 more

Q4 Deadline

Urgent
🕐 Dec 31, 5:00 PM

Submit all project deliverables and final reports.

Loyalty / Membership Card

ACME Rewards Gold
Available Points
12,450 pts
7,550 pts to Platinum
Member John Smith
Expires 12/2026

Reference

Class Description
.cardBase card container
.card-headerHeader section (flex row)
.card-header-textText wrapper in header (flex: 1)
.card-header-actionsAction buttons in header
.card-titleTitle text
.card-subtitleSubtitle text
.card-bodyMain content area with padding
.card-mediaImage/video container
.card-media-wide16:9 aspect ratio media
.card-media-square1:1 aspect ratio media
.card-media-portrait3:4 aspect ratio media
.card-media-overlayGradient overlay on media
.card-footerFooter section
.card-footer-borderedFooter with top border
.card-actionsActions container (flex row)
.card-borderedBorder instead of shadow
.card-dashDashed border
.card-flatNo shadow, no radius
.card-elevatedLarger shadow
.card.glassGlassmorphism effect
.card-sideHorizontal layout (image + content)
.card-image-fullFull background image with overlay content
.card-smSmall size (less padding)
.card-lgLarge size (more padding)
.card-clickableHover lift effect + pointer cursor
.card-disabledDisabled state (opacity 0.5)
.card-loadingLoading overlay
.card-gridAuto-fill responsive grid
.card-grid-smCompact grid (200px min)
.color-*Color composition (primary, secondary, etc.)