RRigdesign system
Data display

Table

A data grid for administrative interfaces with head, cell and density variants.

Examples

Creators and posts
CreatorStatusPosts
ElenaActive1,240
MilaPending880
NoraPaused312

Anatomy

Table anatomy
#PartDescriptionPresence
1CaptionVisible or screen-reader onlyRequired
2Header rowth scope="col"Required
3Row headerth scope="row" for the identifierOptional
4CellsAlignment follows data typeRequired
5WrapperScrollable region on small screensOptional

Specifications

DensitySmall · Large
Head variantsAlignment states
CellsVariants per content type

Interaction

Keyboard
KeyResult
TabReaches the scroll wrapper and any controls in cells
Arrow keysScroll the wrapper when it is focused
Pointer and touch
TriggerResponse
SortHeader button toggles ascending / descending and updates aria-sort
HoverRow tint

Accessibility

role · table

1.3.1Info and Relationships1.4.10Reflow2.1.1Keyboard
Requirements
RequirementHow Rig meets it
Native tableUse <table>. Not divs with grid roles unless you build a full grid.
Headersscope on every th
Wrapperrole="region", tabindex="0" and a label, so keyboard users can scroll
NumbersRight-aligned, tabular figures
DensitySmall density keeps targets at 24px

Read the matching WAI pattern ↗

Usage

Do and don’t
DoDon’t
Right-align numbersDo not use a table for layout
Keep the first column as the row headerDo not hide columns without a way to see them

Notes from the Figma file

  • Density can switch to Small on dense analytical dashboards.