Brand
Changelog v1.4

Brand Card

<brand-card> wraps Shoelace's <sl-card> with brand variants (default, elevated, outlined, filled) and an interactive mode. Visuals are driven by semantic tokens so theme and brand switching are automatic.

Variants

Default

Subtle surface with a hairline border. Good general-purpose card.

Elevated

Lifted surface with a shadow instead of a border.

Outlined

Transparent background, visible border. Works on any surface.

Filled

Bolder neutral surface, no border.

Interactive

Hover me

Lifts on hover, shows a focus ring when tabbed to, uses pointer cursor.

Outlined + interactive

Combines outlined look with hover lift.

With image

Placeholder
Elevated with image

Image fills the top of the card via the image slot.

Placeholder
Outlined + interactive

Combine an image with interactive hover for clickable media cards.

Orientation

Cards can stack vertically (default) or lay the image on the left in horizontal mode. Both are shown below with identical content for comparison.

Placeholder
Vertical elevated

Default orientation: image on top, header, body, and footer stacked below.

Read more
Placeholder
Horizontal elevated

Image sits on the left and spans the full height of the stacked text on the right.

Read more
Placeholder
Horizontal + interactive

Clickable horizontal cards are good for list rows, search results, or article previews.

With header, body, footer

Account settings

Update your profile, notification preferences, and security options.

Save changes Cancel

Usage

import { BrandCard } from '@brandos/ui';

<brand-card variant="elevated" interactive>
  <div slot="header">Title</div>
  <p>Body content.</p>
  <div slot="footer">Actions</div>
</brand-card>