Table
Show a compact summary or compare labelled rows and columns.
| Recipient | Hana |
|---|---|
| Amount | $48.00 |
| Fee | $0.00 |
| Total | $48.00 |
Recommended API
| Property or element | Type | Example initial value | Description |
|---|---|---|---|
<th scope="row"> | Table header | Per transaction field | Name each value for screen readers and readers scanning the table. |
Value | Text | Per row | Show the value next to its label. |
States
| State | Trigger | Result |
|---|---|---|
static | Render the summary table. | Each value lines up with its row header. |
CSS variables
| Variable | Type | Default | Description |
|---|---|---|---|
--q-text | color | #28302a | Main text and foreground color. |
--q-muted | color | #70776f | Color for secondary text. |
--q-font-size | length | 13px | Base size for the component text. |
--q-accent | color | #344e41 | Accent for active controls, indicators and focus. |
--q-surface | color | #ffffff | Surface for controls and cards. |
--q-border | color | #dce0d8 | Color for outlines and dividers. |
--q-radius | length | 10px | Base corner radius. |
--q-gap | length | calc(var(--q-space) * 2) | Space between items, based on the spacing unit. |
--q-space | length | 4px | Base unit for gaps and padding. |