Components

Card

A container with a border and a rounded frame. A card is a surface: it already looks right with no style or color class.

Card header
Content goes here.
ClassRole
pui-cardthe frame: border, radius, clipping
pui-card-headera muted band at the top
pui-card-contentthe body, a grid so children space themselves

Content spacing

pui-card-content is a grid with a gap, so children do not need margins:

Delete project

This cannot be undone.

Recoloring a card

A style class still wins over the card's own surface:

Careful with this one.

A card as a container

A table sits flush inside a card: the card draws the outer border, the table draws the rules between rows.

<div class="pui-card">
  <div class="pui-card-header">Users</div>
  <table class="pui-table pui-striped">
    <!-- ... -->
  </table>
</div>