Data Tables, Lists and Cards
Level 5 · Showing many things
Three shapes for many items: a data table, a list and a grid of cards. Which fits a phone, plus the badges, chips and avatars that ride on top.
Course contentsLesson 13 of 14
Level 1 · Parts and their states
Level 2 · Getting answers in
Level 3 · Finding your way
Level 4 · Layers, messages and waiting
Level 5 · Showing many things
After this lesson you can
- Choose a table, a list or cards
- Explain why tables struggle on phones
- Use badges, chips and avatars
11 mincovers 6 glossary entries
Worth reading first: Spinners and Skeleton Screens
When to use a table, a list or cards
A data table, a list view and a grid of cards can show the same items, and the screen decides which one works. A table needs width, because each fact has its own column. Most phones are only about 360 to 430 pixels wide. A list or a set of cards fits there, and a wide table does not.
A data table sets facts out in rows and columns, with a top row naming each column. It is the best shape for comparing: which product is cheapest, which order is late. People can sort by a column and scan down it. Line numbers up on the right, so the digits line up too.
A list view shows things one under the next, and each row holds one thing. An inbox is a list. Each row can show a picture, a title and a line of detail. Lists fit any screen width, which is why phone apps use them so much.
A card is a box that holds one thing, often with a picture and a title. A grid of cards suits items where the picture matters, such as recipes, homes or products. Cards take more room than list rows, so fewer fit on one screen.
Small labels ride on top of all three. A badge is a small dot or number on an icon, like 3 new messages. A chip is a small rounded label you can tap or remove, such as a filter for Size M. An avatar is a small round picture that stands for a person, often their initials when there is no photo.
Keep these small labels few. A badge on every icon means none of them stands out. A row of twenty chips is a second menu. And a badge with a big number, such as 4,812, says little. Many apps stop at 99 and show 99+.
The common mistake is to squeeze a wide table onto a phone. Columns shrink until the text breaks over many lines, or the table scrolls sideways out of sight. On a small screen, show each row as a list item or a card instead.
Put the table on a phone
| Product | Kind | Changed | Price |
|---|---|---|---|
| Running shoes | Shoes | 2 days ago | $64 |
| Wool socks | Socks | 1 week ago | $12 |
| Rain jacket | Coats | Today | $110 |
| Water bottle | Kit | 3 weeks ago | $18 |
Comparing means a table. Read a column down and the answer is there.
Put the table on a phone. That one move is why the other two shapes exist.
Show the same four products as a table, a list and cards, then switch to a phone. The table is the one that breaks.
Worked example
The words for this lesson6
Check yourself
Why do wide data tables work badly on a phone?
Finished this lesson?
Marking it complete also marks its 6 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.