building-tables

Builds accessible tables and data grids with sorting, filtering, pagination, and virtual scrolling.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/masermediagroup-stack/maser-media --skill building-tables-masermediagroup-stack
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: building-tables
Source: https://github.com/masermediagroup-stack/maser-media/tree/main/.cursor/skills/community/ai-design-components/skills/building-tables
Command: npx skills add https://github.com/masermediagroup-stack/maser-media --skill building-tables-masermediagroup-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @tanstack/react-table, @tanstack/react-virtual, ag-grid-react, ag-grid-community, xlsx, papaparse, pandas, requests, and includes scripts (resource) and references (resource) components.

What problem does it solve? Choosing and implementing the right table architecture is hard: small datasets need simple semantic HTML, while large datasets require server-side operations and virtual scrolling to stay performant, all while meeting WCAG accessibility requirements. ## Core Features & Use Cases - Tiered Implementation Framework: Selects the right approach by data volume, from plain HTML tables under 100 rows to virtualized grids handling 100K+ rows. - Feature Patterns: Provides implementations for sorting, filtering, pagination, row selection, inline editing, and CSV/Excel export. - Accessibility & Responsiveness: Includes ARIA grid patterns, keyboard navigation, screen reader announcements, and four responsive strategies for mobile. - Use Case: A developer building an admin dashboard with 50,000 records uses the virtual scrolling example with TanStack Table, adds server-side pagination, and validates accessibility with the included scripts. ## Quick Start Ask the agent to build a sortable, filterable data table for your dataset and specify the approximate row count so it picks the right implementation tier.

Frequently Asked Questions about building-tables

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a table that handles 100,000 rows in React?▼

Use virtual scrolling with TanStack Virtual so only visible rows render in the DOM, keeping memory constant and scrolling at 60fps. For datasets above 10,000 rows, combine virtualization with server-side pagination and aggregation.

TanStack Table vs AG Grid, which should I use?▼

TanStack Table is a headless library around 15KB that gives full control over markup and styling, ideal for custom designs. AG Grid is a feature-complete solution with built-in grouping, pivoting, and Excel export, better for enterprise grids with millions of rows.

When should table sorting move from client-side to server-side?▼

Client-side operations work well under 1,000 rows with sub-50ms response times. Between 1,000 and 10,000 rows, move sorting, filtering, and pagination to the server via API endpoints to keep responses under 200ms.

How do I make a data grid accessible for screen readers?▼

Use semantic HTML with caption, thead, tbody, and scope attributes, then apply the ARIA grid pattern with roles like columnheader and gridcell for interactive tables. Add keyboard navigation with arrow keys and live regions to announce sort and filter changes.

How do I make a table responsive on mobile devices?▼

Four strategies work: horizontal scroll, transforming rows into cards, hiding lower-priority columns, or truncating content with expand-on-demand. The card stack pattern is most common for narrow screens.

How do I export table data to CSV or Excel?▼

Use the included export script or utilities that serialize row data to CSV with proper encoding, or the xlsx library to build Excel workbooks. For large exports, stream the output rather than building it in memory.