Card title
Short description of the card content.
There is no .card you are forced to add: every <article> is a card. Padding, elevation and layout come from the element itself.
The module styles :is(article, .card) with a vertical flex layout, panel radius and the first elevation level. A <div> holds the content (title and text), a direct <footer> becomes a flex row for actions, and a leading <figure> bleeds to the card edges with a 3:2 cover image. Cards usually sit inside a .grid container, sized with --grid-columns custom properties.
Semantic by default: a card is just an <article>, so your content keeps meaning even without CSS. It works in both light and dark themes automatically, and the --card-padding custom property lets you resize the padding per card inline – no utility classes.
Adjust padding with --card-padding (defaults to $gutter); radius and elevation follow $border-radius-panel and the elevation tokens. In grids, control how many cards per row with --grid-columns and its breakpoint variants. Buttons inside a card automatically adjust their contrast with .btn-contrast.
Short description of the card content.
<article>
<div>
<h4>Card title</h4>
<p>Short description of the card content.</p>
</div>
<footer>
<a href="#" class="btn sm">Call to action</a>
</footer>
</article>
Short description of the card content.
<article>
<div>
<figure>
<img loading="lazy" src="/db/images/ink/ink_water.1794581366.avif" alt="Card image description">
</figure>
<h4>Card with image</h4>
<p>Short description of the card content.</p>
</div>
<footer>
<a href="#" class="btn sm">Call to action</a>
</footer>
</article>Short description of the card content.
<article>
<div>
<h4>Card with actions</h4>
<p>Short description of the card content.</p>
</div>
<footer style="justify-content: end">
<a href="#" class="btn sm btn-contrast">Call to action</a>
<details class="dropdown dropup dropdown-align-right">
<summary class="btn btn-round sm btn-contrast" aria-label="Open card menu">⋯</summary>
<ul>
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
</ul>
</details>
</footer>
</article>
Short description of the card content.
<article class="card-horizontal">
<figure>
<img loading="lazy" src="/db/images/ink/ink_water.1794581366.avif" alt="Card image description">
</figure>
<div>
<h4>Card with image</h4>
<p>Short description of the card content.</p>
</div>
<footer>
<a href="#" class="btn sm">Call to action</a>
</footer>
</article>