← Components/primitives

Card

Container with header / title / description / content / footer slots. Preserves the legacy @avala/ui Card API surface (Card / CardHeader / CardTitle / CardDescription / CardContent / CardFooter) so consumer apps migrate without churn.

primitivesstablea11y: untested2/3 coverageEdit on GitHub ↗
primitives-card--defaultOpen all variants →

When to use

  • Generic content containers in marketing and informational surfaces (case studies, feature blocks, settings groups).
  • Already-@avala/ui-Card consumers migrating off — same API surface.

When not to use

  • Clickable / selectable / expandable / radio-grouped tiles → use `Tile`. Tile is the Carbon-spec primitive with proper variants.
  • Action-bearing containers in product surfaces (Mission Control kanban, dataset rows) → reach for `Tile` ClickableTile.