Cards

Raised, inset, and flat containers with neumorphic depth.

Raised (Default)

Card Title

This is a raised neumorphic card. It appears to float above the background surface with soft shadows.

<div class="sui-card">
  <h4>Card Title</h4>
  <p>This is a raised neumorphic card. It appears to float above the background surface with soft shadows.</p>
</div>

Inset

Inset Card

This card is pressed into the surface, creating a recessed well effect.

<div class="sui-card sui-inset">
  <h4>Inset Card</h4>
  <p>This card is pressed into the surface, creating a recessed well effect.</p>
</div>

Flat

Flat Card

No shadow — just a subtle border for minimal separation.

<div class="sui-card sui-flat">
  <h4>Flat Card</h4>
  <p>No shadow &mdash; just a subtle border for minimal separation.</p>
</div>

With Header

Card Header

Card body content goes here.

<div class="sui-card">
  <div class="sui-card-header">
    <h4>Card Header</h4>
  </div>
  <div class="sui-card-body">
    <p>Card body content goes here.</p>
  </div>
</div>

Hoverable

Hover Me

Shadow grows on hover for interactive feel.

<div class="sui-card sui-card-hover">
  <h4>Hover Me</h4>
  <p>Shadow grows on hover for interactive feel.</p>
</div>

With Footer

Card with Footer

Content above the footer section.

<div class="sui-card">
  <div class="sui-card-body">
    <h4>Card with Footer</h4>
    <p>Content above the footer section.</p>
  </div>
  <div class="sui-card-footer">
    <button class="sui-btn sui-btn-sm">Cancel</button>
    <button class="sui-btn sui-btn-primary sui-btn-sm">Save</button>
  </div>
</div>

Image Top

Card with Image

An image or visual sits above the card body content.

<div class="sui-card" style="padding:0;overflow:hidden;">
  <div class="sui-card-img-top" style="height:160px;background:linear-gradient(135deg, var(--sui-primary) 0%, var(--sui-info) 100%);border-radius:var(--sui-radius-sm) var(--sui-radius-sm) 0 0;"></div>
  <div class="sui-card-body">
    <h4>Card with Image</h4>
    <p>An image or visual sits above the card body content.</p>
  </div>
</div>

Image Overlay

Overlay Title

Text content layered on top of the image background.

<div class="sui-card" style="height:220px;padding:0;position:relative;overflow:hidden;">
  <div style="position:absolute;inset:0;background:linear-gradient(135deg, var(--sui-primary) 0%, var(--sui-info) 100%);"></div>
  <div class="sui-card-img-overlay">
    <h4 style="color:#fff;">Overlay Title</h4>
    <p style="color:rgba(255,255,255,.85);">Text content layered on top of the image background.</p>
  </div>
</div>

Horizontal

Horizontal Card

Image and body sit side by side in a row layout.

<div class="sui-card sui-card-horizontal" style="padding:0;overflow:hidden;">
  <div class="sui-card-img-start" style="width:140px;min-height:160px;background:linear-gradient(135deg, var(--sui-primary) 0%, var(--sui-info) 100%);"></div>
  <div class="sui-card-body">
    <h4>Horizontal Card</h4>
    <p>Image and body sit side by side in a row layout.</p>
  </div>
</div>

Delete this item?

This action cannot be undone. This will permanently delete the item and remove all associated data.