Skip to content

Table

type: "table"5 styles · 21 properties

A data grid with headers, striped rows, per-column alignment and configurable borders — leaderboards, price lists and reports rendered as pixels.

Updated

Open in the editor
Preview · DefaultReal render, 1200 × 630
Table component, Default style, sample render
The table component’s default look.

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 it

Examples

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.

Or ask your AI agent“Using imejis, make a 1200 × 630 image with a Table component (type "table") filled with my data, then give me a render link I can call with new values.”
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.png

Properties

Every property works the same in the editor, in design JSON and as an API override.

21 properties shown

PropertyTypeDefaultWhat it does
Data
headersstring[][]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).
stripedbooleantrueAlternate row background colors.
borders'all' | 'horizontal' | 'none'"horizontal"Which cell borders are drawn.
fontSizenumber14Cell font size in pixels.
headerBgcolor"#f1f5f9"Header row background color.
headerColorcolor"#334155"Header text color.
rowColorcolor"#ffffff"Base row background color.
altRowColorcolor"#f8fafc"Alternate row background color when striped.
textColorcolor"#1e293b"Body cell text color.
cellPaddingXnumber10Horizontal cell padding in pixels.
cellPaddingYnumber7Vertical cell padding in pixels.
Values and labels
showHeaderbooleantrueRender the header row.
gridColorcolor"#e2e8f0"Color of the internal rules (cell/row/header separators); falls back to borderColor.
Frame
opacitynumber1Overall component opacity from 0 (transparent) to 1 (opaque).
borderWidthnumber0Border thickness in pixels around the component.
borderColorcolor"transparent"Border color (any CSS color).
borderStyle'solid' | 'dashed' | 'dotted' | 'double' | 'none'"solid"Border line style.
borderRadiusnumber0Corner radius in pixels.
boxShadowstring—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.

Free tools built on it, guides that use it, and the components that sit beside it.