TurnConcepts — Tables

Data
Tables

Table UI patterns for displaying structured data. Sortable headers, status badges, progress bars, pagination, and more — the essential patterns for any data-heavy application.

Basic Sortable Striped Status Badges Progress Pagination Expandable Compact
Product CategoryPrice Stock
Widget ProHardware$299142
Cloud SuiteSoftware$199
Data CableHardware$293,841
AI ModuleSoftware$499
Sensor KitHardware$89567
sortable

Sortable Columns

Table headers with sort direction indicators (▲/▼). Clicking a column header toggles ascending/descending sort. Essential for data exploration.

SortableHeadersAscendingDescending
IDEndpointMethodLatency
#a3f2/api/usersGET42ms
#b7c1/api/ordersPOST128ms
#d9e4/api/productsGET67ms
#f1a8/api/authPUT231ms
#c4b2/api/users/3DELETE89ms
striped

Striped API Log

Alternating row backgrounds improve readability in dense tables. Combined here with HTTP method badges and latency data — a common pattern in API monitoring dashboards.

StripedAPI LogMethodsLatency
ProjectTeamProgressDeadline
Homepage RedesignDesign
Jan 15
API v2 MigrationBackend
Feb 3
Mobile AppMobile
Mar 20
Auth OverhaulSecurity
Jan 8
Analytics v3Data
Apr 1
progress

Progress Bar Cells

Inline progress bars within table cells, color-coded by completion level. Green for near-complete, amber for in-progress, red for behind schedule.

ProgressColor CodedProject TrackerInline
All Systems
ServiceStatusUptimeResponse
API Gateway● Operational99.98%42ms
Database● Operational99.99%12ms
CDN● Degraded99.82%156ms
Auth Service● Operational99.95%38ms
Email Service● Outage98.41%
status

Status Dashboard Table

A system status page table with operational/degraded/outage indicators. Used on status pages (like status.github.com) to show service health at a glance.

Status PageUptimeHealth CheckMonitoring
MetricCurrentPrevΔTrend
MRR$48.2k$44.1k+9.3%↑↑↑
Churn2.1%2.8%-0.7%↓↓
NPS7268+4
CAC$142$128+10.9%
LTV$2,840$2,650+7.2%↑↑
DAU14.2k13.8k+2.9%
compact

Compact Metrics

A dense, compact table for KPI comparison — current vs. previous period with delta and trend indicators. Used in executive dashboards and investor reports.

CompactKPIsDeltaTrend Arrows
OrderCustomerTotalStatus
#ORD-1042Alice Chen$284.00Shipped
#ORD-1041Bob Smith$156.50Processing
ITEMS
Widget Pro × 2, Cable × 1
ADDRESS
123 Main St, SF CA
TRACKING
1Z999AA10...
#ORD-1040Carol Diaz$432.00Pending
#ORD-1039Dan Lee$67.25Shipped
expandable

Expandable Rows

Table rows that expand to reveal detailed information. The ▶/▼ toggle reveals order details, shipping info, and line items without navigating away from the table.

ExpandableAccordionDetail ViewOrders
2 selected
Delete
FileSizeModified
index.html24 KB2 min ago
styles.css18 KB1 hr ago
app.js42 KB5 min ago
README.md3 KB3 days ago
selectable

Selectable Rows

Checkbox-based row selection with a bulk actions toolbar. Selected rows are highlighted and the toolbar shows the count and available actions like delete or export.

SelectableCheckboxesBulk ActionsFile Manager