Design system/Components
Tables and data lists
Flowra has few tables, on purpose: most data is card rows that read well on phones too. Real tables exist only where columns mean something: the Knowledge table block, Folio, and pitch documents.
In codecomponents/knowledge/blocks.tsxcomponents/knowledge/knowledge.css (.kn-table)
Live example
DescriptionDateAmount
Design tool subscription3 Mehr$24
Server hosting5 Mehr$180
Campaign ads12 Mehr$1,250
Rules
- Number and amount columns stick to the end of the row and use tabular-nums so the digits line up.
- Column headers 11 to 12px, weight 700, secondary text color; body 13px.
- Rows are separated by dashed lines, not alternating colors.
- A table that doesn't fit on a phone scrolls horizontally inside its own container (.kn-table-wrap); the page never scrolls horizontally.
- If a table has only two columns, it's a row list, not a table.
Do
On phones, a card row with a title and metadata.
Don't
A seven-column table that drags the whole page left and right.
Related pages