Table

Tables in Prose UI are represented using GFM syntax. Here's an example:

Table using the gfm syntax
| Rocket               | Height   | Payload to LEO | Stages |
|:---------------------|:--------:|:--------------:|:------:|
| SpaceX Starship      | 120 m    | 150 t          | 2      |
| NASA SLS Block 1     | 98 m     | 95 t           | 2      |
| Blue Origin New Glenn| 98 m     | 45 t           | 2      |
RocketHeightPayload to LEOStages
SpaceX Starship120 m150 t2
NASA SLS Block 198 m95 t2
Blue Origin New Glenn98 m45 t2

Center and add a caption

You can wrap a table inside a frame to center it and add a caption.

A centered table with a caption
<Frame align="center" caption="Table inside a frame with a caption">
| Rocket               | Height   | Payload to LEO | Stages |
|:---------------------|:--------:|:--------------:|:------:|
| SpaceX Starship      | 120 m    | 150 t          | 2      |
| NASA SLS Block 1     | 98 m     | 95 t           | 2      |
| Blue Origin New Glenn| 98 m     | 45 t           | 2      |
</Frame>
RocketHeightPayload to LEOStages
SpaceX Starship120 m150 t2
NASA SLS Block 198 m95 t2
Blue Origin New Glenn98 m45 t2
Table inside a frame with a caption

Stretch a table

A table can be aligned to the left, right, center, or stretched. Stretching the table ensures that its width spans 100% of the available space, and a horizontal scrollbar is added if the table is wider than the container.

A stretched table with a caption
<Frame align="stretch" caption="Stretched table">
| Rocket               | Height   | Payload to LEO | Stages |
|:---------------------|:--------:|:--------------:|:------:|
| SpaceX Starship      | 120 m    | 150 t          | 2      |
| NASA SLS Block 1     | 98 m     | 95 t           | 2      |
| Blue Origin New Glenn| 98 m     | 45 t           | 2      |
</Frame>
RocketHeightPayload to LEOStages
SpaceX Starship120 m150 t2
NASA SLS Block 198 m95 t2
Blue Origin New Glenn98 m45 t2
Stretched table

Created by Valdemaras, designed by Domas. Source code available on GitHub.