EF
EF Design System

Card

Cards group related information into contained surfaces. They support images, highlights, disabled states, and hover-lift animations.

Default

Content Card

A standard card with a title and description. Hover to see the lift effect.

With Image

Cards can include a header image area.

tsx
<Card title="Content Card" description="A standard card." />
<Card title="With Image" imageSrc="/hero.png" />

Highlighted

Featured Content

Highlighted cards use the primary border and glow shadow to draw attention.

tsx
<Card highlighted title="Featured" description="..." />

Disabled

Archived Content

This card is disabled. It cannot be interacted with.

tsx
<Card disabled title="Archived" description="..." />

Hover-Lift Demo

Hover each card to see the lift animation. The highlighted card also shows a glow shadow.

Standard

Hover me to lift up.

Featured

Glow on hover.

Disabled

No hover effect.

Props

PropTypeDefaultDescriptionRequired
titlestring-Card heading textNo
descriptionstring-Card body textNo
highlightedbooleanfalseApply primary border and glow shadowNo
disabledbooleanfalseDim the card and disable interactionsNo
imageSrcstring-URL for the header imageNo
childrenReactNode-Custom content inside the card bodyNo

Usage Guidelines

  • Use cards to group related content into scannable, interactive surfaces.
  • Only one card per view should be highlighted to avoid diluting emphasis.
  • Use the disabled state for archived or unavailable items.
  • Keep card content concise -- cards are entry points, not full pages.