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

| Class | Effect | | --- | --- | | .b-card | Card wrapper (container-type: inline-size) | | .b-card-header | Top section, separated by border | | .b-card-body | Main content | | .b-card-footer | Bottom section, surface background | | .b-card-interactive | Hover lift + border emphasis |

Edit this page