Components / Card

Card

A compositional surface with header, title, description, content, actions and footer.

Design systemLocal source, ready to adapt.Change tokens or edit the template directly.Updated today
example.component.html
html
<aevko-card class="border-dashed rounded-none bg-transparent">
  ...
</aevko-card>

Installation

npx aevko-ui@latest add card --yes

Source ownership

Customization

Compose only the regions the design needs. Each primitive accepts consumer classes, making transparent, bordered or editorial cards straightforward.

Edit locallyThe installed template and stylesheet are application code, not a black box.
Theme semanticallyOverride --aevko-* tokens or ordinary classes without !important.

API reference

Property or slotTypeDefaultDescription
AevkoCardcomponentrequiredSurface and layout root.
AevkoCardHeadercomponentoptionalGroups title, description and actions.
AevkoCardTitlecomponentoptionalPrimary title content.
AevkoCardDescriptioncomponentoptionalSupporting title copy.
AevkoCardContentcomponentoptionalMain projected content.
AevkoCardActionscomponentoptionalHeader-level actions.
AevkoCardFootercomponentoptionalTrailing metadata or actions.

Accessibility contract

Accessibility

Included behavior

  • Card adds no landmark role.
  • Choose a semantic wrapper in content when it represents an article, region or form.

Your responsibility

Add an article, region or form landmark only when the card content genuinely has that meaning.

Back to all components