Data tables

From oborchers/fractional-cto · View interactive version

Data tables is an AI agent skill from the GitHub repository oborchers/fractional-cto. This skill should be used when the user is building or reviewing data tables, pagination, column alignment, bulk actions, sorting, filtering, row selection, or table-to-card responsive patterns. Covers the pagination vs infinite scroll decision, DataTable vs IndexTable patterns, and column default s

How to use this skill

Skill file

Data Tables Are Where SaaS Products Are Won or Lost

Enterprise SaaS lives and dies by its data tables. The rules are non-negotiable.

Alignment Rules

| Content Type | Alignment |

|-------------|-----------|

| Text | Left-align |

| Numbers | Right-align |

| Headers | Match content alignment |

| Data columns | Never center-align |

Use monospace or tabular typography for numbers so "$1,111.11" doesn't visually outweigh "$999.99."

Pagination vs. Infinite Scroll

Pagination beats infinite scroll for SaaS data tables — always.

Nielsen Norman Group's research explains why: infinite scroll creates a "lack of landmarks." Users can't remember where items were. With pagination, users remember "it was on page 3, near the top."

Pogo-sticking — clicking into a record, then going back — is especially destructive with infinite scroll because users are often returned to the top of the list.

Pagination rules:

Two Table Types

Shopify Polaris makes a critical distinction:

DataTable (Static Comparison)

For showing values across categories with summary rows and fixed columns. Read-only comparison view.

IndexTable (Actionable Resource List)

For orders, customers, products — with row selection, bulk actions, and navigation to detail pages.

Build both patterns. The choice depends on whether users need to act on the data or compare it.

Column Defaults

Invest heavily in choosing which columns appear by default. Most users never customize.

Rules:

Bulk Actions

Show a toolbar when one or more rows are selected.

Placement options:

Selection options:

Examples

Working implementations in examples/:

Review Checklist

When reviewing or building data tables:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.