Skip to content

CardVertical

A course card with the image on top and the title, progress and metadata below, optionally with a favorite or overflow action.

Maturity
beta
Links
Storybook · Figma: CardVertical · Figma: CardVertical.Root · Figma: CardVertical examples · Spec source · Usage source

Sizing

Creative Acts for Curious People

sm

Creative Acts for Curious People

lg
OptionUse when
smCompact carousels or narrower slots. Landscape thumbnail (3/2).
lg (default)Feature carousels and Discover sections, where image impact matters. Portrait thumbnail (4/5).

When to use it

Choose between Card, CardVertical, CardHorizontal and Box. Use CardVertical when:

  • Course cards in a horizontal carousel, such as the Discover and Saved courses sections.
  • The learner has started the course: pass progress, and a ProgressBar shows under the image.
  • The learner has finished the course: progress of 100 or more adds a Completed marker, and the bar stays.
  • The learner can save the course (action Favorite) or has several course actions (action Menu).
  • The card opens the course page: pass href. Omit it only when something else on the page opens the course.
  • The preset can't show the content, such as an instructor row or custom meta: compose the parts from a pattern.

Composition

Designing Calm Interfaces

Do

Let the learner save a course in place with the Favorite action over the image.

Designing Calm Interfaces

Completed
Don't

Add a Completed badge yourself: it can disagree with the bar. Pass progress={100} instead.

Storytelling with Data

Do

Put several course actions (share, save, hide) in the Menu action when they don't fit as buttons.

Five Takeaways from Our Team Offsite

Don't

Use CardVertical for content that isn’t a course, like an article. Build it from Card.

Every component follows ADR-025, ADR-026 and ADR-028(states, prop vocabulary, focus indicator); they are not repeated per component.