Components
Card
Groups one concern, such as a settings section or a summary.
Theme
How the app looks on this device.
Small card
Tighter padding for dense grids.
<div class="card">
<div class="card-header">
<h3 class="card-title">Theme</h3>
<p class="card-description">How the app looks on this device.</p>
</div>
<div class="card-content">…</div>
<div class="card-footer"><button class="btn btn-sm">Save</button></div>
</div>
| Part | Value |
|---|---|
.card |
card fill, 14px radius, a 1px ring of foreground at 10%, 16px spacing (.card-sm: 12px), 14px text |
.card-title |
16px medium, snug line height (14px in .card-sm) |
.card-description |
14px muted |
.card-footer |
A muted strip at 50% with a top hairline, running edge to edge |
Stack cards with 24px between them. One card per concern.