When you need to draw a box around related content, reach for a card. Public pages and internal tools each have their own color variations but the use cases are shared. The markup is the same on both surfaces; the internal colours come from .ds-internal on a parent element and nothing else changes.
A flexible and unopinionated white surface with a hairline border and 8px radius.
Spectral gaps in random regular hypergraphs. Submitted 2026-09-18 to math.CO, awaiting moderation.
<div class="ds-card">
<h3>submit/5720431</h3>
<p>Spectral gaps in random regular hypergraphs. Submitted 2026-09-18 to math.CO, awaiting moderation.</p>
</div>
--ds-border, 8px radius, padding from the scale.
Its first and last children carry no outer margin, because the padding is the space at the
edges. It sets position: relative, so a margin note or an anchored pill measures
from it.The same markup inside .ds-internal. The basic card has no accent of its own, so it looks the same on both surfaces; what changes is everything inside it that reaches for the accent, such as the button.
Spectral gaps in random regular hypergraphs. Submitted 2026-09-18 to math.CO, awaiting moderation.
<body class="ds-page ds-internal">
…
<div class="ds-card">
<h3>submit/5720431</h3>
<p>Spectral gaps in random regular hypergraphs. Submitted 2026-09-18 to math.CO, awaiting moderation.</p>
<div class="ds-btn-group"><button type="button" class="ds-btn ds-btn-primary">Approve</button><button type="button" class="ds-btn">Hold</button></div>
</div>
<html> or <body>. Re-points the accent to
Access Lime for everything inside. Nothing on the card itself changes.Intended for organizing metadata and other reference information: the facts about one record, each pair stacking a label over a value. Cards read correctly against both white or a warm-wash page background.
<section class="ds-card ds-card--data" aria-label="Paper information">
<dl>
<div><dt>arXiv ID</dt><dd><a href="#">2311.04082</a></dd></div>
<div><dt>Submitted</dt><dd>2023-11-07</dd></div>
<div><dt>Subjects</dt><dd>cond-mat.soft</dd></div>
<div><dt>Licence</dt><dd><a href="#">CC BY 4.0</a></dd></div>
</dl>
</section>
<section> with an aria-label, which makes it a named region. A
tinted ground (--ds-surface-muted) and a 4px top edge in the accent, so it reads as
reference rather than content. No padding of its own: the pairs carry it.<div>, <dt> label then <dd> value.
Pairs sit side by side when the card is wide enough for two and stack in one column when it is
not; a hairline separates them in both directions.<a href> and takes the ordinary link colours..ds-card, a white panel with a hairline and an 8px radius, and not a data card. Keeping the two visually distinct is deliberate: a filled surface reads as read-only system context; a plain bordered panel reads as “you can edit this.”<body class="ds-page ds-internal">
…
<section class="ds-card ds-card--data" aria-label="User information">
<dl>
<div><dt>User</dt><dd><a href="#">Katrin Solberg</a></dd></div>
<div><dt>Email</dt><dd><a href="#">katrin.solberg@example.org</a></dd></div>
<div><dt>Remote host</dt><dd>128.84.12.201</dd></div>
<div><dt>Date</dt><dd>2024-12-31</dd></div>
</dl>
</section>
Peers in a set share one grid. The count of columns does not follow a breakpoint but adjusts to the content. The grid will drop to one column when a card can no longer hold its minimum width.
Anomalous diffusion in confined active matter. Published 2023-11-07, cond-mat.soft.
A note on the endpoint Strichartz estimate. Published 2024-09-19, math.AP.
Calibrating photometric redshifts with sparse spectroscopy. Published 2025-06-03, astro-ph.CO.
<div class="ds-card-grid">
<div class="ds-card">
<h3>2311.04082</h3>
<p>Anomalous diffusion in confined active matter. Published 2023-11-07, cond-mat.soft.</p>
</div>
<div class="ds-card">…</div>
<div class="ds-card">…</div>
</div>
<div class="ds-card-grid">
<section class="ds-card ds-card--data" aria-label="User information">…</section>
<section class="ds-card ds-card--data" aria-label="Submission information">…</section>
</div>
<section> with an
aria-label such as “User information”, so a screen reader user can jump straight to
it and hears what it holds. A section without a name is not exposed as a landmark at all.<div>, <dt> first, so they are read as a pair. The label is real
text in the markup and the uppercase comes from CSS, so it stays correct for a screen reader and
for copy and paste..ds-card.