What is a card?
A card is a container that groups everything about one item and is usually a doorway to more detail. Tap the card and you land on the product, restaurant or article page.
You’ll usually see cards used for:
- Collections of similar things: products in a shop, restaurants in a delivery app, hotels in a travel app.
- Feeds: news articles, workouts, social posts, recommendations.
- Summaries: “Your run today”, “This month’s spending”, an upcoming flight.
Cards almost never appear alone. They sit in lists, grids and carousels, so a lot of card testing is really testing how many cards behave together.
Anatomy
- 1
Container
The surface that groups everything about one item. Its edge comes from a shadow (elevated), a fill color (filled) or a border (outlined).
- 2
Media
A photo, illustration or map. Needs a fixed aspect ratio and a fallback when the image is missing or slow.
- 3
Badge / overlay
Short status on top of the media: "-20%", "Sold out", "New", "Closed". Must stay readable on any photo.
- 4
Title
The name of the item. Usually also the link to the detail page. Long titles wrap or truncate in a controlled way.
- 5
Supporting text & metadata
Rating, cuisine, delivery time, price, author, date. Short facts that help users choose without opening the card.
- 6
Actions (optional)
Secondary actions like Save or Add to cart. Separate, clearly sized targets that do not also open the card.
How it differs from similar components
| Component | What it holds | Typical use |
|---|---|---|
| Card | Rich, mixed content about one item (media, text, actions) | Products, restaurants, articles, summaries |
| List row | One line or two of text, maybe an icon | Settings, contacts, emails |
| Tile | Mostly an image or icon with a short label | Photo galleries, app launchers, categories |
| Banner | A message across the full width | Promotions, warnings, “You’re offline” |
| ModalModalA window that appears on top of the page and blocks the content behind it until it is closed.Open in glossary → | Content that blocks the screen | Decisions, forms, confirmations |
Dev note
Material Design (Android) has an official card component in three styles: elevated, filled and outlined. iOS has no system “card” control. Apps build cards from views, often in the style of the App Store’s Today tab. On the web, it’s just a styled div or article, so every site invents its own. Teams may also say tile or content card.
Designs & variants
MaterialMaterial DesignGoogle's design system for Android and the web: the rules for how buttons, tabs, sheets and other components look and behave.Open in glossary →’s three card types differ only in how the card’s edge is drawn: a shadow, a fill color or a border. The rest are content patterns you’ll meet in real products. Switch the demo screens to dark mode as you look.
Switch the demo screens to dark mode and see which card edges survive.
Morning run
Today · 6.2 km · 31:40
Your fastest 5 km this month. Keep the streak going!
Elevated card
Material 3A low shadow lifts the card off the background. In dark mode Material uses a lighter surface instead, because shadows barely show on black.
Test for: the edge disappearing in dark mode, shadows clipped by a scroll container.
Morning run
Today · 6.2 km · 31:40
Your fastest 5 km this month. Keep the streak going!
Filled card
Material 3A tinted background and no shadow. Calm and compact, good for grouped content like settings or summaries.
Test for: enough contrast between card, background and the text on it.
Morning run
Today · 6.2 km · 31:40
Your fastest 5 km this month. Keep the streak going!
Outlined card
Material 3A thin border, no shadow. Easy to scan in lists and grids where many cards sit side by side.
Test for: a 1 px border that vanishes on some screens or in dark mode.
Weekend guide
5 easy hikes near Zürich
Large media card
iOSiOS has no single "card" control. Apps build them, often like the App Store's Today tab: big image, text on top, rounded corners.
Test for: text over a photo staying readable, Dynamic Type pushing text out of the image.
Product card
Web & appsImage, name, rating, price, badges and actions. The most bug-prone card of all, because so much data meets in a small box.
Test for: the heart opening the product, sale prices, Sold out, long names.
Napoli Pizza Corner
4.5 (860) · Pizza · €
25–35 min €2.49
Napoli Pizza Corner
4.5 (860) · Pizza · €
25–35 min €2.49
Restaurant card
Food deliveryA wide 16:9 photo with rating, cuisine, delivery time and fee. Status like "Closed" or "Free delivery" sits on the image.
Test for: closed restaurants still orderable, fees and times matching the detail page.
Tech Daily
Why your phone battery drains faster in the cold, and what actually helps
2 h ago · 6 min read
Tech Daily
Why your phone battery drains faster in the cold, and what actually helps
2 h ago · 6 min read
Article card
News & contentHorizontal: text on the left, a small thumbnail on the right. Headlines are clamped to two or three lines.
Test for: headline truncation, wrong or missing thumbnails, stale "2 h ago" times.
Images: ratio, cropping and missing photos
Images cause more card bugs than anything else. Things to know:
- Fix the aspect ratio. Product grids usually use 1:1 or 4:5, restaurant and article cards 16:9 or 4:3. If every photo keeps its own shape, the grid jumps around and the layout shifts while images load.
- Crop, don’t squash. Photos should be cropped to fit, never stretched. A stretched shoe looks like a canoe.
Dev note
On the web that’sobject-fit: cover. - Plan for missing images. A photo can be missing, slow or broken. A good card reserves the space and shows a neutral placeholder. A bad one shows a broken-image icon, a file name, or collapses to half its height.
- Text on photos (like a “Closed” label or a headline) needs a dark overlay so it stays readable on light and busy images.
Prices, badges and status
Product and restaurant cards repeat data from the detail page, so they can disagree with it.
- Sale price: the new price is lower and highlighted, the old price is higher and struck through, and the “-25%” badge matches the math: (119 − 89) / 119 ≈ 25%.
- Sold out / Closed: the badge, the button and the detail page must all agree. “Sold out” with a working Add to cart is a classic bug.
- Currency and format: “€89.00” on the card but “89,00 €” on the detail page is a localizationLocalizationAdapting an app to a language and region, including translations, dates, currency and layout.Open in glossary → inconsistency.
Loading: skeletons
While data loads, good apps show skeletonSkeleton screenA grey placeholder layout shaped like the real content, shown while data loads.Open in glossary → cards: grey shapes with the same size and layout as the real cards. The page doesn’t jump when content arrives, and users see that something is happening.
A skeleton that’s a different size from the real card, or one that never goes away when there’s no data, is a bug. More on that in Empty & error states.
Check this part
A card shows "€249.00" highlighted, "€199.00" struck through and "-20%". What do you report?
A product has no photo. What should the card show?