Tabular data display. Contains column children.
Table attributes
| Attribute | Type | Default | Description |
|---|
rows | number | 3 | Number of placeholder rows. |
striped | boolean | false | Alternate row background colors. |
Column attributes
| Attribute | Type | Default | Description |
|---|
label | string | - | Header text. |
width | string | auto | CSS width (e.g. 20%). |
align | left | center | right | left | Text alignment. |
table(rows=4 striped=true)
column(label="Name" width="40%")
column(label="Status" width="20%" align="center")
column(label="Date" width="20%")
column(label="Amount" width="20%" align="right")