Data Table
Displays records in rows, with one column per field. Supports sortable headers, row selection and right-aligned numbers.
Add an Orvain Data Table of 5 members, X-Large (64) rows, with columns Members, Company, Role, Contract and Status and a more button on each row: • a toolbar with “All”, “Active” and “Inactive” tabs, a “Search...” field, Filter and Settings • each member with a checkbox, photo, name and email; “Cara Brook” selected • each contract a “Contract.pdf” file chip, each status an Active or Inactive badge
When to use#
- For records with the same fields that people compare, such as invoices, members or orders.
- When people act on several rows at once through selection.
When not to use
- Use a List for a few items with one or two fields.
Anatomy#
All / Active / Inactive tabs, a 300px search field, Filter and Settings.
38px on a 4% tint, rounded 8px. Satoshi 14 in #6d6d6d, with a select-all box and sort arrows.
64px (X-Large) with a description line, or 48px (Large). 12px left, 20px right, a #f2f2f2 rule below.
A checkbox, avatar (40 or 32), logo or file chip before the title.
A status badge, a more button, a switch, a rating, a progress bar or avatars.
States#
White rows.
A 4% wash across the row.
The checkbox fills brand blue and the row takes a brand tint (Figma draws no selected row).
The header shows the direction and is announced through aria-sort.
Secondary cells set their title in #6d6d6d.
Source#
The Data Table ships in the free packages, @orvain/react and @orvain/vue, and in the Figma library with every variant and state shown above. The code on this page is the code you install.
Used in these blocks

