Table
NewdataResponsive data table with typed columns, alignment controls, sticky styling foundations, and token-based borders.
import { Table } from '@/components/forge'Preview
Table
| Component | Category | Status |
|---|---|---|
| Button | Form | Stable |
| Table | Data | New |
| Timeline | Data | New |
Code Example
Props
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
columns | TableColumn<T>[] | - | Yes | Column definitions with key, header, and optional alignment |
rows | T[] | - | Yes | Rows rendered in the table body |
Variants
default
Accessibility
- Uses semantic table, thead, tbody, th, and td elements
- Column headers are rendered as th elements
- Horizontal overflow keeps data usable on small screens