Moey extras
Description list
Labels and their values — order details, customer profiles, settings summaries. Side by side on bigger screens, stacked on phones.
Order #10421
- Customer
- Jane Doe
- jane@moey.test
- Status
- Paid
- Ship to
- 12 Market St, Springfield
- Total
- $129.00
- Revenue
- $48,210
- Orders
- 1,284
- Customers
- 932
- Refund rate
- 0.9%
- Notes
- Customer asked for gift wrapping and a handwritten card.
- Tags
- VIP Repeat
<dl class="dl">
<dt>Customer</dt><dd>Jane Doe</dd>
<dt>Email</dt><dd>jane@moey.test</dd>
</dl>
<dl class="dl dl-grid"> <!-- key facts: wrap each pair in a div -->
<div><dt>Revenue</dt><dd>$48,210</dd></div>
<div><dt>Orders</dt><dd>1,284</dd></div>
</dl>
| Class | What it does |
|---|---|
| (default) | Label column and value column (stacked on phones) |
.dl-divided | A line between rows |
.dl-stacked | Label above value, always |
.dl-grid | A grid of key facts, big values (two columns on phones) |
.dl-sm | Denser |
With actions
An edit link next to each value — the common profile pattern.
<div class="card max-w-xl"><div class="card-body"><dl class="dl dl-divided">
<dt>Name</dt>
<dd class="flex justify-between gap-4">Jane Doe <a href="#description-list">Edit</a></dd>
<dt>Email</dt>
<dd class="flex justify-between gap-4">jane@moey.test <a href="#description-list">Edit</a></dd>
<dt>Password</dt>
<dd class="flex justify-between gap-4">Changed 3 months ago <a href="#description-list">Change</a></dd>
</dl></div></div>