---
id: portfolio.ds.reply-table
name: "Reply Table"
type: component
status: active
relations: [{"type":"uses_token","target":"portfolio.ds.typography"},{"type":"uses_token","target":"portfolio.ds.color-text"},{"type":"uses_token","target":"portfolio.ds.border"},{"type":"uses_token","target":"portfolio.ds.primitive-scale"},{"type":"uses_token","target":"portfolio.ds.focus-interaction-states"}]
sources: ["packages/design-system/src/components/ReplyTable.astro","packages/design-system/src/components/reply-scroll-area.ts","apps/portfolio-site/src/design-system/docs/reply-table.astro","apps/portfolio-site/src/lib/designSystemRegistry.ts"]
catalog: ["apps/portfolio-site/src/design-system/docs/reply-table.astro"]
previews: ["apps/portfolio-site/src/design-system/docs/reply-table.astro"]
---
# Reply Table

## Purpose
Compare named options across a common set of criteria.

## Contract
- Props: `headers` and `rows`. All cells are literal text. The first cell of each row names the option. Empty or non-rectangular data renders no table.
- Use Body typography and Text color, medium-weight headers and the default Border between rows. Cells use primitive space 2 vertically and 3 horizontally. No outer margin.
- The table takes the width its content needs. Cells wrap, with a minimum measure of 10ch so narrow screens do not squeeze the text into single letters. Any horizontal overflow stays inside the component.

## Use
Chat Assistant Message renders this component for an authored table block. The isolated preview offers Compact (two-column) and Wide (five-column) examples; Example is not a component prop.

## Do Not Use
Do not use for prose, page layout or interactive data grids.

## Accessibility
Preserve native table semantics, column headers and row headers at every width. Only horizontal overflow makes the wrapper a focusable group named by its column headers. When the table fits, the wrapper has no role, accessible name or Tab stop.

## Interaction States Exception
The table is read-only. Only the scroll area uses Interaction States: the standard focus ring on focus and the stronger focus-visible ring for keyboard navigation. There are no hover, pressed, selected or disabled treatments because the table has no action or selection.

## Verification
Switch examples and breakpoints. Tab skips tables that fit. When the table overflows, Tab focuses its named scroll area and the arrow keys scroll the table alone. Widen it until it fits and confirm it is skipped again.

## Enabled Profile Records
- Registry ID: reply-table.
- Canonical route: /design-system/reply-table/.
