# Data Tables, Lists and Cards

> 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:** [UI Components](https://learn.benibix.com/learn/design-user-interface)  
**Time:** 11 min

**After this lesson you can:**

- Choose a table, a list or cards
- Explain why tables struggle on phones
- Use badges, chips and avatars

## 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.

![The same four products three ways. A data table with columns for Product, Kind and Price, listing Desk, Lamp, Rug and Mug. A list view of four rows, each with a round picture and two lines, the first with a New badge. A grid of four cards, each with a picture area and two lines. A note says a table needs width, and a list and cards still fit on a phone.](https://learn.benibix.com/diagrams/ui-table-list-cards.svg)

### Example: An orders page for phones

A shop's orders page used a table with 7 columns. On a phone, each row wrapped over 4 lines and the totals were cut off.

The team kept the table on wide screens. On phones, each order became a card. The total was in bold, with a chip to show where the order was.

**Words in this lesson:** [Data Table](https://learn.benibix.com/term/design/data-table), [List View](https://learn.benibix.com/term/design/list-view), [Card](https://learn.benibix.com/term/design/card), [Badge](https://learn.benibix.com/term/design/badge), [Chip](https://learn.benibix.com/term/design/chip), [Avatar](https://learn.benibix.com/term/design/avatar)

**Question:** Why do wide data tables work badly on a phone?

**Answer:** A table needs width for its columns, and a phone is narrow. Each fact in a table needs its own column. On a narrow phone, the columns shrink or scroll sideways, so a list or cards works better there.

---

Source: https://learn.benibix.com/learn/design-user-interface/data-tables-lists-and-cards
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
