Table
Compare structured data by row and column.
Usage
Use native table sections. Wrap wide tables in a scrollable region when needed.
Accessibility
Give the table a caption and use scope on its column or row headers.
| Property | Type | Default |
|---|---|---|
| children | ReactNode | None |
<Table>
<caption>Recorded events</caption>
<thead><tr><th scope="col">Event</th><th scope="col">Target</th></tr></thead>
<tbody>
<tr><td>focusin</td><td>Project name</td></tr>
<tr><td>click</td><td>Save project</td></tr>
</tbody>
</Table>