Table
Rows of records with sorting and selection.
| Status | ||||
|---|---|---|---|---|
KSKristina Stan | Design lead | Active | 12 | |
MPMila Petrova | Product designer | Active | 8 | |
IGIvan Georgiev | Developer | Invited | 3 |
import { Table } from '@stanvision/atomus-react';
<Table caption="Team members" selectable rowKey={(r) => r.id} rows={members} columns={[ { key: 'name', header: 'Name', sortable: true }, { key: 'projects', header: 'Projects', sortable: true, align: 'end' }, ]}/>Rows of records with sortable columns and optional row selection. Pair with Filter bar above and Pagination below.
Provide
Section titled “Provide”columns—{ key, header, sortable?, render?, supporting?, align?, width? };rows;rowKey.sizesm(52px rows) ·md(72px rows);selectable+selected/onSelectedChange;caption;empty(e.g. an EmptyState).- Use Avatar, Badge and tertiary Buttons inside
renderfor the Figma cell types.
- Don’t put more than one primary action per row; group the rest in a DropdownMenu.
In Figma
Section titled “In Figma”Properties, variants and anatomy for the Figma component are on the Figma reference page. Prop names in React match the Figma property names.