- Decide which columns and fields matter most on a small screen, then design for that first.
- Tables can scroll, collapse into cards or hide secondary columns. Choose by task, not habit.
- Forms should be one column, with large controls, clear labels and helpful errors.
- Test with real data, long text, keyboards and screen readers.
Why tables and forms are the hard part
Marketing pages adapt easily to a phone. Dashboards, admin screens and portals do not, because they exist to show and edit dense information. A table with eight columns does not fit on a 360-pixel screen, and a form with thirty fields feels endless.
Many web applications solve this by shrinking everything until it is unreadable, or by telling mobile users to use a desktop. Neither is acceptable when staff, customers and field workers increasingly use phones. With a few patterns and some planning, responsive data tables and forms can work well at any size.
Start with the task
Before choosing a pattern, ask what people do on a small screen. Often it is a subset of desktop tasks: check status, find a record, approve an item, add a quick note. Designing for these tasks first keeps mobile focused.
For each screen, list:
- The question a user is trying to answer
- The three pieces of information they need first
- The one or two actions they take most often
- What can wait for a larger screen or a detail view
This prioritisation drives everything else. It also matches the mobile-first thinking described in our guide to mobile-first website design.
Patterns for responsive data tables
No single pattern fits every table. Choose based on the data and the task.
| Pattern | How it works | Best for |
|---|---|---|
| Horizontal scroll | Table keeps its shape and scrolls sideways within its container | Comparing many columns, such as finance data |
| Priority columns | Less important columns are hidden on small screens | Lists where a few fields identify each row |
| Stacked cards | Each row becomes a card with labelled fields | Records the user reads one at a time |
| Expandable rows | Summary shown, details revealed on tap | Long records with many secondary fields |
| Detail view | Tapping a row opens a full page | Complex records with actions |
Whichever you pick:
- Keep the identifying column, such as name or reference, visible
- Use a sticky header or first column when scrolling
- Make sorting and filtering reachable, using a compact filter panel
- Show a clear indication that more content scrolls sideways
- Give each row a large enough tap area
- Paginate or load progressively instead of rendering thousands of rows
Use proper table markup with header cells, so assistive technology can read relationships. When a table turns into cards, preserve the labels for each value.
Make forms work on small screens
Form problems on phones are usually basic: tiny controls, missing labels and keyboards that do not match the field. Good practice:
- One column. Stack fields vertically, which is easier to scan and complete on a phone.
- Visible labels. Placeholders disappear when typing; keep labels above fields.
- The right input type. Use email, telephone, number and date types so phones show a suitable keyboard, and set autocomplete values.
- Large touch targets. Controls should be comfortable to tap, with space between them.
- Group related fields under clear headings, and split long forms into steps with progress shown.
- Sensible defaults and optional fields clearly marked.
- Sticky actions such as a primary button that remains reachable on long forms.
Our article on form UX that helps people finish an enquiry goes deeper on reducing friction.
Handle validation and errors kindly
Errors are where forms lose people. Validate as soon as it helps, usually when a field loses focus, not on every keystroke. Write messages that say what to do: "Enter a date in the format 25/12/2026" beats "Invalid input". Place the message beside the field, link it programmatically to the control, and move focus to the first error when a form is submitted with problems. Do not rely on colour alone.
Never lose entered data when an error occurs, and protect users from accidental loss with autosave or warnings for long forms.
Plan for real data
Designs with perfect sample content mislead. Test with:
- Long names, addresses and text that wraps awkwardly
- Missing values and empty states
- Large numbers and currencies in different formats
- Hundreds or thousands of rows
- Right-to-left languages if relevant
- Slow connections and loading states
Show helpful empty states that explain what to do next. Show skeletons or progress indicators while data loads, and reserve space to avoid layout shifting.
Accessibility and testing
Check keyboard use first: can you reach filters, sort headers, row actions and form controls with the keyboard, in a sensible order, with a visible focus? Test with a screen reader on at least one platform. Make sure zooming to 200 percent does not break layouts, and that touch targets meet WCAG 2.2 minimum sizes.
Build these checks into your review process; our frontend code review checklist can help. Define a small set of reusable components, so every table and form behaves consistently, as explained in design systems for small product teams.
Where to start
Audit your three busiest screens on a real phone. Note what is hard, then fix the biggest problem first. If you are designing a new application or portal, include responsive behaviour in the brief from day one. Our UI/UX design team designs data-heavy interfaces that work on every device, and you can share your screens for a quick review.
Common questions
How do you make a data table responsive?
Prioritise the columns that matter, then choose a pattern: horizontal scroll, hidden secondary columns, stacked cards, expandable rows or a detail view. Keep identifying information visible and use proper table markup.
Should I use horizontal scrolling for tables on mobile?
Sometimes. It works for comparing many columns, such as financial data, if you keep the header and first column visible and show that more content is available. For reading single records, cards are usually easier.
What is the best layout for mobile forms?
One column, visible labels above fields, the right input type for each field, large touch targets, grouped sections and a primary button that stays reachable.
How should form errors be displayed?
Next to the field, in clear language that says how to fix the problem, connected to the control for assistive technology, and not relying on colour alone. Preserve what the user typed.
How do I test responsive tables and forms?
Use real devices, real data with long text and many rows, keyboard-only navigation, a screen reader and zoom to 200 percent. Also test loading, empty and error states.

