Skip navigation

Components / Layout

Media row

A small visual beside flexible text for activity updates, biographies or comment headers. Quote owns quotation content; Media can arrange its attribution.

Media is a layout: a small visual beside flexible text, such as an activity update, biography or comment header. Quote owns quotation text and attribution; it can use Media to arrange an attribution photo beside a name.

Try it
Alex added a new illustration

The updated homepage artwork is ready for review.

Project activity · 5 minutes ago
<div class="media"><img class="media-avatar" src="/assets/images/pattern-example.svg" alt="" width="48" height="48"><div class="media-content"><strong>Alex added a new illustration</strong><p>The updated homepage artwork is ready for review.</p><small>Project activity · 5 minutes ago</small></div></div>
Class or attributeWhat it does
media-avatar / media-contentFixed visual slot and flexible content.
--media-gapShared spacing between the visual and its text, including Quote attributions; 10px by default.
media-avatar.is-roundedOpt into a circular avatar; images are square by default.