Skip to main content

Card

UI Design

What is a Card

A card is a container that groups short, related information about one subject, such as a product, article or job. It roughly looks like a playing card and usually links to the full details.

Anatomy of a Card

  • Media: An optional image or thumbnail
  • Title: The main label
  • Summary: A few lines of key information
  • Actions: One or two buttons or links
  • Container: A border, fill or shadow that groups it all

When to use Cards

Use cards for browsing varied content, such as dashboards, feeds and product grids, where each item is a separate unit. Cards work well in responsive grids because they reflow to fit the screen. Material Design offers elevated, filled and outlined cards.

Cards vs. Lists

Cards are less efficient when users need to compare many items on the same details, such as price or date. For that, a list or table is faster to scan. Keep cards short and make the whole card clickable when it leads to one place.

Frequently asked questions

What should a UI card contain?

A few short, related pieces of information about one subject, such as an image, a title, a short summary and one or two actions. The card is a preview that links to the full details.

What are the types of cards in Material Design?

Material 3 has three card variants: elevated cards with a shadow, filled cards with a tinted background and outlined cards with a border.

When should you use a list instead of cards?

When users need to scan and compare many items on the same attributes, such as prices or dates. Cards suit browsing varied content; lists and tables are faster for comparison.