{"success":true,"name":"design-what-tables-become-on-small-screens","description":"A data table looks fine on desktop and breaks or crushes on mobile.","category":"ai-brimind","path":"ai-brimind/design-what-tables-become-on-small-screens/SKILL.md","file":"SKILL.md","content":"---\nname: design-what-tables-become-on-small-screens\ndescription: \"A data table looks fine on desktop and breaks or crushes on mobile.\"\n---\n\n# Design What Tables Become on Small Screens\n\n## When to use\nThe UI includes multi-column data tables, and their small-screen behavior is accidental (squeezed columns, broken layout) rather than chosen.\n\n## Example request\nEight columns crushed into 360px → each cell is two truncated letters; the table is decorative — squeezed beyond meaning. Table forced to fit by hiding overflow → half the data silently invisible with no indication — amputated content. display:block hacks on table elements → header row no longer aligns with anything — semantics broken by CSS.\n\n## Instructions\nAct like a UX lead who accepts that a wide table cannot survive a narrow screen unchanged — the question is which transformation serves THIS data. The options, choose deliberately: (1) HORIZONTAL SCROLL — keep the table, wrap it in an overflow-x container with a visible scroll affordance (edge fade/shadow so users know there's more), optionally freezing the identifying first column; right for genuinely tabular data where row-comparison matters; (2) COLUMN PRIORITY — hide secondary columns at breakpoints (choose by asking 'what would a user on a phone actually need?'), with a row-expand or detail view holding the rest; right when 2–3 columns carry the story; (3) CARD TRANSFORM — below a breakpoint, each row becomes a stacked card with label:value pairs; right for record-like data (members, orders) browsed rather than compared; costs the ability to scan a column. Whichever: never let it happen by accident (default squeeze), never silently amputate data, and test with realistic long content in cells, not 'abc'. Actions per row need a home too — visible, not hover-dependent. Only proceed once the chosen strategy is named, and the table has been used — not just viewed — at 360px.\n\n## Metadata\n- role: UX lead\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #1194\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}