Table
Arrange comparable data in rows and columns.
alpina-ui/ui/tableProduction plan
Studio print runs
| Publication | Size | Qty |
|---|---|---|
| Civic notebook | A5 | 80 |
| Neighbourhood poster | A3 | 40 |
| Trail map | A4 | 120 |
Total in production240 copies
Usage notes
Use numeric cells and a shared TableAmount precision to align decimal separators. Place the currency in the header. TableRow supports subtotal and total rules, and Table can pin the column headings and first column inside a ScrollArea.
When to use
Present records with the same fields so readers can compare a value across rows.
When to avoid
A single invoice summary with distinct labels and values works better as a DescriptionList.
Accessibility
Use column and row headers as needed. Give the table a caption and keep each unit clear when navigating cell by cell.
| Key | Action |
|---|---|
| — | Use the reading software’s native table commands for rows, columns and headings. |
| Tab / Shift+Tab | Move between any controls supplied within cells. |
Content
Use a short noun as each header. Put the shared unit in the header and reserve enough space for complete figures.
- Use
- Amount (CHF) / 120.00
- Avoid
- Number / 120
Copy in four languages
- German
- Betrag6 characters
- French
- Montant7 characters
- Italian
- Importo7 characters
- Romansh
- Import6 characters
npx --no-install alpina add table