Structured card layout pattern with header, body, and optional footer. For card specs, see Elevate Lookbook and DESIGN.md.
Title + content. Border defines edge (no shadow).
Card description with supporting text that explains what this card is about. Body content can contain any components.
<div class="elv-content-card elv-content-card--bordered">
<div class="elv-content-card__header">
<div class="elv-content-card__header-content">
<h3 class="elv-content-card__title">Card Title</h3>
</div>
</div>
<div class="elv-content-card__body">
<p class="elv-text-sm elv-text-default">Content...</p>
</div>
</div>
Title + subtitle for additional context.
Manage your profile and preferences
Update your account information, notification settings, and privacy preferences.
<div class="elv-content-card__header">
<div class="elv-content-card__header-content">
<h3 class="elv-content-card__title">Account Settings</h3>
<p class="elv-content-card__subtitle">Manage your profile</p>
</div>
</div>
Title + action buttons (close, edit, etc.).
You have 3 unread notifications. Check your activity feed for updates.
<div class="elv-content-card__header">
<div class="elv-content-card__header-content">
<h3 class="elv-content-card__title">Notifications</h3>
</div>
<div class="elv-content-card__actions">
<button class="elv-content-card__action-button">...</button>
</div>
</div>
Content + action buttons at bottom.
Are you sure you want to proceed? This action cannot be undone.
<div class="elv-content-card elv-content-card--bordered">
<div class="elv-content-card__header">...</div>
<div class="elv-content-card__body">...</div>
<div class="elv-content-card__footer">
<button class="btn btn--tertiary btn--md">Cancel</button>
<button class="btn btn--primary btn--md">Confirm</button>
</div>
</div>
Floating card with subtle shadow (10% opacity).
Use elevated cards for modals, popovers, or elements that need visual lift. No border when elevated.
<div class="elv-content-card elv-content-card--elevated">
<!-- No border when using --elevated -->
<div class="elv-content-card__header">...</div>
<div class="elv-content-card__body">...</div>
</div>
16px border radius for prominent cards.
Use larger radius (16px) for hero cards or prominent content.
<div class="elv-content-card elv-content-card--bordered elv-content-card--lg">
<div class="elv-content-card__header">...</div>
<div class="elv-content-card__body">...</div>
</div>
Footer with different alignments.
Actions right-aligned.
Single action centered.
<!-- Right-aligned -->
<div class="elv-content-card__footer elv-content-card__footer--end">
<button class="btn btn--primary btn--sm">Get started</button>
</div>
<!-- Center-aligned -->
<div class="elv-content-card__footer elv-content-card__footer--center">
<button class="btn btn--primary btn--md">Continue</button>
</div>