Skip to main content

Summary Card

Displays a summary of collected data before a final confirm step.

Preview · Summary Card

Code​

<div class="card" style="max-width:360px;padding:1.25rem">
<h3 style="margin:0 0 1rem;font-size:0.975rem">Order Summary</h3>
<div style="display:flex;flex-direction:column;gap:0.5rem;font-size:0.875rem">
<div style="display:flex;justify-content:space-between"><span style="color:var(--muted-foreground)">Plan</span><span style="font-weight:500">Enterprise</span></div>
<div style="display:flex;justify-content:space-between"><span style="color:var(--muted-foreground)">Region</span><span style="font-weight:500">EU West</span></div>
<div style="display:flex;justify-content:space-between"><span style="color:var(--muted-foreground)">Billing</span><span style="font-weight:500">Annual</span></div>
<hr style="border:none;border-top:1px solid var(--border);margin:0.25rem 0" />
<div style="display:flex;justify-content:space-between"><span style="font-weight:600">Total</span><span style="font-weight:700;color:var(--primary)">$9,600/yr</span></div>
</div>
</div>

Props​

PropTypeDefaultDescription
titlestring—Card title
subtitlestring—Supporting subtitle
Version history

See the Changelog for version history and breaking changes.