GitHub

Card

PreviousNext

Plain surface for grouping related content. Compose freely with Flex + typography.

Default

Card is intentionally just a <div> wrapper — no Header / Body / Footer slots.

Stat / metric

Compose Footnote1 + LargeTitle for a balance or KPI display.

Selectable

Pass active to flip into the pressed / selected style.

With form actions

Cards group form sections without adding visual weight.

Installation

pnpm add @appboxo/ui-kit

Theme tokens

Required: --boxo-card-mobile-background, --boxo-card-mobile-active-background. Optional: --boxo-card-mobile-padding, --boxo-card-mobile-border-*, --boxo-card-mobile-shadow.