Table UI Design: Patterns and Examples for Data-Heavy Products
By Justin Campbell, Lead Product Designer
What makes good table UI? Good table UI makes the important column obvious, keeps headers and identifiers in view, uses alignment and spacing to make values comparable, and puts actions where people expect them. The patterns below cover the decisions that come up in almost every data-heavy product.
- Status badges. Short colored labels (Active, Late, Denied) scan faster than words in plain text. Pair color with text, never color alone.
- A clear primary column. The column people identify a row by (name, ID) is bolder or a link, and sits first.
- Right-aligned numbers. Numbers align on the right so digits line up for comparison.
- Row actions on the right. Edit, open and more-actions menus usually sit at the far right, often shown on hover to reduce clutter.
- Frozen headers and first column. Long and wide tables keep their headers and identifying column in view while scrolling.
- Density options. Compact, regular and relaxed row heights, chosen by the person using the table.
- Expandable rows. Detail opens in place instead of on a new page. See Tables with expandable rows.
- Designed empty states. An empty table explains why it's empty and offers the next step.
- Truncation with a way out. Long text truncates with an ellipsis and shows the full value on hover or in the detail view.
- Clear pagination. People always know which page they're on and how many results there are. See Pagination UX best practices.
Start from a pattern, not a blank canvas
GridForge's data table templates give you a starting table to customize on the canvas, with frozen headers and nested rows built in.
This guide is part of Data table design: a practical guide.
Frequently asked questions
Usually in the last column on the right, or in a menu that appears on hover, so they don't compete with the data.