Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

TBL-008 Published · Updated

Mobile card table

A table design that lays rows out as a table on desktop and reshapes each row into a card on mobile.

FigmaThis part is included in our free, editable Figma file: 235 website UI patterns across 32 parts, 2 designs each Open in Figma Community ↗ (opens in a new tab)

Wireframe (desktop) | Mobile card table

Mobile card table UI design (desktop wireframe)

Wireframe (mobile) | Mobile card table

Mobile card table UI design (mobile wireframe)

What changes on mobile

  1. Each row becomes a card: Columns side by side will not fit, so each entry is reshaped to read from top to bottom.
  2. The store name becomes the card heading: The first thing in each card says what the information is about.
  3. Column headers become labels: Values alone do not say what they are, so each item carries its label.

Before you choose this pattern | Mobile card table

Good fit

  • On mobile, rows are read one at a time more than compared side by side
  • Lists of stores, offices, staff or open positions, where each row is one self-contained entry
  • Four to six columns that will not fit side by side on a phone

Poor fit

  • Rows need comparing side by side on mobile too (fix the first column and scroll sideways, as in the <a href="/patterns/en/table-check-compare/">checkmark comparison table</a> or <a href="/patterns/en/table-numeric/">numeric table</a>)
  • Only two columns (the <a href="/patterns/en/table-key-value/">key-value table</a> works better)
  • Many rows that people want to sort through (the <a href="/patterns/en/table-sortable/">sortable table</a> works better)

Why this wireframe works | Mobile card table

Compare on desktop, read one by one on mobile

Rows side by side compare well on desktop, but on mobile the columns become too narrow to read. The same HTML is shown as a table on desktop and as cards on mobile.

Each item still makes sense on mobile

Reshaping into cards with only the values leaves readers unsure what each one means. Each item carries a label matching its column header, so the meaning holds inside the card.

The card heading says which entry it is

If a card opens with an address, readers cannot tell which store it belongs to. The row header (the store name) becomes the card heading, with a rule beneath to separate it.

Desktop and mobile never drift apart

A separate mobile HTML gets forgotten when one side is updated. One table switches its presentation only, so the content is maintained in one place.

Check the row and column headers with a screen reader

Whether the table’s semantic structure survives when CSS changes how it is displayed for cards depends on the environment. After building it, check with a screen reader that each cell’s value is read with its column and row headers. If you add role attributes, check the announcement again.

Common mistakes | Mobile card table

Separate HTML for mobile

Two tables, one for desktop and one for mobile, must both be edited on every update and soon disagree. Switch the presentation of one table.

Values with no labels

“10:00–20:00” alone does not say whether it is opening hours or phone hours. Label each item.

Cards that stop reading as a table

Changing the display can stop some screen readers reading it as a table. Test with one and add role attributes to restore the table semantics if needed.

Card boundaries hard to see

Too little space or no rule between cards leaves it unclear where one entry ends. Give cards a border and space between them.

FAQ | Mobile card table

When should I scroll sideways and when use cards?

If the point is comparing rows side by side, fixing the first column and scrolling sideways suits better. For lists usually read one entry at a time, cards read more easily.

Where should the label text live?

In this wireframe each cell carries the same words as its column header in a data attribute, shown only on mobile. Text shown through pseudo-elements is handled differently by different screen readers, so the column headers stay in the table itself.

How many columns before switching to cards?

Rather than the column count, judge by whether a cell wraps onto several lines on mobile. A column of long content such as addresses or descriptions is worth cards even with few columns.

Share this pattern

Send this page to your team or your design partner.

Was this pattern useful?

Written by

Yuta Okano

ENVY DESIGN Inc.

CEO / Director / Designer

14 years in the web industry. Has worked on more than 500 web projects, from corporate and recruiting sites to e-commerce. Focuses on information architecture, direction and design, from planning websites to improving them. In recent years he has focused on AIO (AI optimization) and GEO, helping sites get cited by generative AI search such as ChatGPT, Perplexity and Google AI Overviews.

Review and revision history

  1. Published AvatarYuta Okano Pattern published