Back to library

Table

Show a compact summary or compare labelled rows and columns.

Transfer summary
RecipientHana
Amount$48.00
Fee$0.00
Total$48.00

Recommended API

Property or elementTypeExample initial valueDescription
<th scope="row">Table headerPer transaction fieldName each value for screen readers and readers scanning the table.
ValueTextPer rowShow the value next to its label.

States

StateTriggerResult
staticRender the summary table.Each value lines up with its row header.

CSS variables

VariableTypeDefaultDescription
--q-textcolor #28302aMain text and foreground color.
--q-mutedcolor #70776fColor for secondary text.
--q-font-sizelength 13pxBase size for the component text.
--q-accentcolor #344e41Accent for active controls, indicators and focus.
--q-surfacecolor #ffffffSurface for controls and cards.
--q-bordercolor #dce0d8Color for outlines and dividers.
--q-radiuslength 10pxBase corner radius.
--q-gaplength calc(var(--q-space) * 2)Space between items, based on the spacing unit.
--q-spacelength 4pxBase unit for gaps and padding.