Content table
A static, readable table for documentation and reference content. Cells wrap by default; links follow the same interaction pattern as DS data tables.
| Where | For | What to expect |
|---|---|---|
| Docs and search | Anything already written down | First stop |
| Direct support | Account, billing, and access | Contract SLA |
Installation
import { ContentTable, ContentTableBody, ContentTableCell, ContentTableHead, ContentTableHeader, ContentTableRow } from "@dome-systems/ds-dashboard/components";Usage
Wrap a ContentTable in a DS Card when it needs the standard raised surface. Content cells are top-aligned and wrap instead of truncating; links are full neutral text at rest, then take the DS link treatment when their row is hovered or focused.
| Where | For | What to expect |
|---|---|---|
| Docs and search | Anything already written down | First stop |
| Direct support | Account, billing, and access | Contract SLA |
<Card className="overflow-hidden"> <ContentTable hoverRows> <ContentTableHeader>…</ContentTableHeader> <ContentTableBody>…</ContentTableBody> </ContentTable></Card>Content versus data
Use ContentTable for static reading content, especially MDX tables. Use the existing Table and DataTable components for operational data: sortable columns, filtering, selection, responsive column ladders, row actions, and horizontally scrollable datasets.
API reference
| Prop | Type | Default | Description |
|---|---|---|---|
hoverRows | boolean | false | Applies the DS muted row-hover surface to every content row. Links use the DS table pattern: full neutral text at rest, then link color and underline on row hover or focus. |
ContentTable | table props | — | A native read-only table with content-aware column widths, so short fields do not consume the same space as prose. |
ContentTableHead | th props | — | A wrapping header cell. Use scope="col" for column headers. |
ContentTableCell | td props | — | A wrapping, top-aligned content cell. |