Install
$ agentstack add skill-krishna-modi12-frontend-design-pro-data-tables ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Data Tables & Dashboards
When to Use
Tabular or data-dense UI: data tables, lists, grids, pagination, sorting, filtering, row selection, KPI cards, charts, analytics dashboards, admin panels. Mentions of TanStack Table/Query route here.
Stack
React 19 · TypeScript strict · Tailwind v4 · TanStack Table/Query · Recharts (default)
Core Rules
- **Semantic `
for tabular data.** Never div-grids. Sortable headers usewrapping a`; the sort cycle is asc → desc → none. - Selection. Leading checkbox column, header checkbox carries the
indeterminatestate, bulk-action bar sits above the table and announces its count viaaria-live="polite". - Overflow is keyboard-reachable. Wrap in
overflow-x-autowithtabIndex={0},role="region"and anaria-label. - Default to pagination. Infinite scroll only for feeds where SEO is irrelevant, and always with a "Load more" button for keyboard users. Past ~100 rendered rows, virtualize.
- State lives in the URL. Filters, sort, page and expanded panels go in query params so views are shareable and restorable.
- Numbers are
tabular-numsand formatted withIntl.NumberFormat; dates withIntl.DateTimeFormat. Never hardcode formats. - Charts need a text equivalent.
role="img"plus anaria-labelstating the trend; a summary line beside the chart serves both sighted scanners and screen readers. - Four states per data surface. Skeleton matching the final layout (no CLS), empty with a route out, error with
role="alert"and retry, success. - Never colour alone for status — pair with icon or text.
Patterns
- TABLE-ROW = search/filter bar + table + pagination.
- METRIC-ROW = 4 KPI cards (value, label, trend with direction icon, optional sparkline).
- CHART-ROW = large chart (2/3) + summary panel (1/3), or two medium charts.
- Optimistic mutation — update the cache, roll back on error (see tanstack-query).
- DASH-LAYOUT = sidebar 240px + header 56px + flexible content.
Examples
examples/good-data-table.tsx (sort, select, paginate, all states) · examples/good-tanstack.tsx (useQuery/useMutation/useInfiniteQuery, optimistic) · examples/good-dashboard.tsx (KPI + charts).
Reference Index
Load only for the specific task:
| Task | Load | |---|---| | Table/KPI/chart/feed pattern anatomy (P-09…P-12), pagination-vs-infinite matrix | ../landing-pages/references/design-patterns.md | | 25 chart types with accessibility ratings | references/chart-types.md | | Queries, mutations, infinite scroll, SSR prefetch | references/tanstack-query.md | | URL state (nuqs), localStorage, cross-tab sync | references/memory-persistence.md |
Constraints
Semantic table markup with aria-sort · keyboard-reachable overflow · tabular-nums and Intl.* formatting · four states with skeletons that don't shift layout · OKLCH tokens · TypeScript strict · WCAG 2.2 AA · no mount-time fake delays.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Krishna-Modi12
- Source: Krishna-Modi12/frontend-design-pro
- License: MIT
- Homepage: https://krishna-modi12.github.io/frontend-design-pro/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.