Data
- Components
- Data
- Table
Table
type: "table"5 styles · 21 propertiesA data grid with headers, striped rows, per-column alignment and configurable borders — leaderboards, price lists and reports rendered as pixels.
Updated





Try your own data
Change the table here with the same controls the editor shows. The preview updates as you type, and you get the API request for your changes.
5 styles
Pick one to preview itExamples
Each example is the same table with different values. The JSON is what you send.
Invoice line items
Order lines with quantities and totals — amounts right-aligned per column.
{
"leaderboard.headers": ["Item", "Qty", "Amount"],
"leaderboard.rows": [
["Pro plan (annual)", 1, "$290.00"],
["Extra seats", 4, "$76.00"],
["Priority support", 1, "$49.00"]
],
"leaderboard.columnAlign": ["left", "right", "right"]
}League standings for social
Weekend standings ready to post — striped rows with points in the last column.
{
"leaderboard.headers": ["Pos", "Team", "W", "L", "Pts"],
"leaderboard.rows": [
[1, "Falcons", 12, 2, 36],
[2, "Comets", 11, 3, 33],
[3, "Rovers", 9, 5, 27],
[4, "Hornets", 8, 6, 24]
]
}Good for
- Weekly leaderboard images for community Slack or Discord
- Price and rate sheets refreshed automatically
- Sports standings graphics for social media
- Order or booking summaries embedded in emails
New values, every render
Replace the body per render with '<key>.rows' and the columns with '<key>.headers'. Send only the properties you want to change; everything else keeps its design value. The API guides cover every language.
curl -X POST "https://render.imejis.io/v1/$IMEJIS_DESIGN_ID" \
-H "dma-api-key: $IMEJIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"leaderboard.rows": [
[1, "Dana", 1010],
[2, "Alice", 980],
[3, "Bob", 870]
]
}' \
-o image.pngconst res = await fetch(`https://render.imejis.io/v1/${process.env.IMEJIS_DESIGN_ID}`, {
method: "POST",
headers: {
"dma-api-key": process.env.IMEJIS_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"leaderboard.rows": [
[1, "Dana", 1010],
[2, "Alice", 980],
[3, "Bob", 870]
]
}),
})
if (!res.ok) throw new Error(`render failed: ${res.status}`)
const image = Buffer.from(await res.arrayBuffer())import os
import requests
response = requests.post(
f"https://render.imejis.io/v1/{os.environ['IMEJIS_DESIGN_ID']}",
headers={
"dma-api-key": os.environ["IMEJIS_API_KEY"],
"Content-Type": "application/json",
},
json={
"leaderboard.rows": [
[1, "Dana", 1010],
[2, "Alice", 980],
[3, "Bob", 870]
]
},
)
response.raise_for_status()
with open("image.png", "wb") as f:
f.write(response.content)Properties
Every property works the same in the editor, in design JSON and as an API override.
21 properties shown
| Property | Type | Default | What it does |
|---|---|---|---|
| Data | |||
headers | string[] | [] | Column header labels. |
rows | (string | number)[][] | [] | Table body as an array of rows, each an array of cell values. |
| Look | |||
columnAlign | ('left' | 'center' | 'right' | 'auto')[] | — | Per-column text alignment ('auto' right-aligns numbers). |
striped | boolean | true | Alternate row background colors. |
borders | 'all' | 'horizontal' | 'none' | "horizontal" | Which cell borders are drawn. |
fontSize | number | 14 | Cell font size in pixels. |
headerBg | color | "#f1f5f9" | Header row background color. |
headerColor | color | "#334155" | Header text color. |
rowColor | color | "#ffffff" | Base row background color. |
altRowColor | color | "#f8fafc" | Alternate row background color when striped. |
textColor | color | "#1e293b" | Body cell text color. |
cellPaddingX | number | 10 | Horizontal cell padding in pixels. |
cellPaddingY | number | 7 | Vertical cell padding in pixels. |
| Values and labels | |||
showHeader | boolean | true | Render the header row. |
gridColor | color | "#e2e8f0" | Color of the internal rules (cell/row/header separators); falls back to borderColor. |
| Frame | |||
opacity | number | 1 | Overall component opacity from 0 (transparent) to 1 (opaque). |
borderWidth | number | 0 | Border thickness in pixels around the component. |
borderColor | color | "transparent" | Border color (any CSS color). |
borderStyle | 'solid' | 'dashed' | 'dotted' | 'double' | 'none' | "solid" | Border line style. |
borderRadius | number | 0 | Corner radius in pixels. |
boxShadow | string | — | CSS box-shadow applied to the component, e.g. "0 4px 6px rgba(0,0,0,0.1)". |
Table questions
Can I replace the rows on each API call?
Yes — send '<key>.rows' as an array of row arrays, and '<key>.headers' to change the columns.
Can I align numbers to the right?
columnAlign takes a per-column list of left/center/right/auto — 'auto' right-aligns numeric cells automatically.
What styling is available?
Striped rows, header/row/alt-row colors, three border modes (all, horizontal, none), cell padding and font size — enough to match your brand.
Can I hide the header row?
Yes — set showHeader to false and only the body rows render.
Where the table component fits
Free tools built on it, guides that use it, and the components that sit beside it.