← Design system

Table

Interactive examples and usage for the Table component.

Examples

Name Role Status
AntonetteEngineerActive
LeeDirectorActive
JordanDesignerAway

Props

PropTypeDefaultDescription
columnsColumn[][]Column definitions with key, label, and optional sortable flag
dataRecord<string, any>[][]Array of row data objects
stripedbooleanfalseAlternate row background colors
hoverablebooleanfalseHighlight rows on hover
compactbooleanfalseReduce cell padding
sortKeystringundefinedCurrently sorted column key
sortDirection'asc' | 'desc' | nullnullCurrent sort direction
onsort(key: string) => voidundefinedCallback when a sortable column header is clicked

Keyboard

KeyAction
ClickClick a sortable column header to sort