Skip to content
Components

Cards

Bordered surface containers with header, body, and footer slots. Container queries enabled by default.

Basic

Card title

Cards are bordered surface containers built on container queries — children can adapt to the card's own width.

Settings Saved

Configure your workspace defaults.

Interactive card

Container-query aware

Use @sm:, @md:, @lg: utilities inside a card to react to its own width — not the viewport:

html
<div class="b-card">
  <div class="b-card-body b-grid @md:grid-2">
    ...
  </div>
</div>

API

ClassEffect
.b-cardCard wrapper (container-type: inline-size)
.b-card-headerTop section, separated by border
.b-card-bodyMain content
.b-card-footerBottom section, surface background
.b-card-interactiveHover lift + border emphasis
Edit this page