Skip to content
Styleof the Table component

Striped Rows Table

Alternate row shading keeps wide tables scannable — tint the zebra rows to your brand and swap the data on every API call. Generate striped tables free.

Updated

Striped Rows Table style, sample render

What this style sets

A style is the table component with a few properties set. Send these, or start from the style in the editor.

{
  "leaderboard.striped": true,
  "leaderboard.altRowColor": "#EEF2FF",
  "leaderboard.borders": "none"
}

Good for

  • Wide payroll and roster sheets
  • Rate cards with many rows
  • Usage reports scanned row by row

Try your own data

Change the striped rows table here with the same controls the editor shows. The preview updates as you type, and you get the API request for your changes.

Examples

Each example is the same striped rows table with different values. The JSON is what you send.

Payroll hours sheet

Hours per employee with indigo-tinted zebra rows and no rules.

{
  "leaderboard.striped": true,
  "leaderboard.altRowColor": "#EEF2FF",
  "leaderboard.borders": "none",
  "leaderboard.headers": ["Employee", "Regular", "Overtime", "Total"],
  "leaderboard.rows": [
    ["A. Brooks", 38, 4, 42],
    ["J. Patel", 40, 0, 40],
    ["S. Kim", 36, 6, 42],
    ["L. Moreau", 40, 2, 42]
  ]
}

Shipping rate card

Zone-based shipping rates — the stripes carry the eye across each row.

{
  "leaderboard.striped": true,
  "leaderboard.altRowColor": "#EEF2FF",
  "leaderboard.borders": "none",
  "leaderboard.headers": ["Zone", "Under 1 kg", "Under 5 kg", "Over 5 kg"],
  "leaderboard.rows": [
    ["Domestic", "$4.90", "$8.50", "$14.00"],
    ["Europe", "$9.90", "$16.00", "$24.50"],
    ["Worldwide", "$14.90", "$22.00", "$39.00"]
  ],
  "leaderboard.columnAlign": ["left", "right", "right", "right"]
}

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 the Striped rows style of the 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]
    ],
    "leaderboard.striped": true,
    "leaderboard.altRowColor": "#EEF2FF",
    "leaderboard.borders": "none"
  }' \
  -o image.png

Other table styles

Striped Rows Table questions

What does the Striped rows style change on the table component?

Zebra striping keeps wide rows easy to scan across. It sets 3 properties on the table component: striped, altRowColor, borders. Everything else keeps the component's defaults, so your data and layout carry over.

How do I render the striped rows table through the API?

Add a table component to a design, then send its data together with the style's properties as flat overrides (for example leaderboard.striped and leaderboard.altRowColor) in the render request. Each render can carry different data while keeping the Striped rows look.

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.

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