Skip to content
Styleof the Table component

Dark Header Table

A high-contrast header row in your brand colors over striped rows — table data refreshed on every API call. Generate branded table images for free.

Updated

Dark Header 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.headerBg": "#111827",
  "leaderboard.headerColor": "#ffffff",
  "leaderboard.striped": true
}

Good for

  • Branded leaderboards
  • Client-facing price sheets
  • Sports standings with team branding

Try your own data

Change the dark header 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 dark header table with different values. The JSON is what you send.

Branded price sheet

Service rates under an indigo brand header for a client-facing graphic.

{
  "leaderboard.headerBg": "#4F46E5",
  "leaderboard.headerColor": "#ffffff",
  "leaderboard.striped": true,
  "leaderboard.headers": ["Service", "Turnaround", "Price"],
  "leaderboard.rows": [
    ["Logo design", "5 days", "$450"],
    ["Brand kit", "2 weeks", "$1,200"],
    ["Landing page", "10 days", "$900"]
  ],
  "leaderboard.columnAlign": ["left", "center", "right"]
}

Crypto price board

Token prices with 24h change under a near-black header row.

{
  "leaderboard.headerBg": "#111827",
  "leaderboard.headerColor": "#ffffff",
  "leaderboard.striped": true,
  "leaderboard.headers": ["Token", "Price", "24h"],
  "leaderboard.rows": [
    ["BTC", "$67,410", "+2.4%"],
    ["ETH", "$3,290", "+1.1%"],
    ["SOL", "$142", "-0.8%"]
  ],
  "leaderboard.columnAlign": ["left", "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 Dark header 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.headerBg": "#111827",
    "leaderboard.headerColor": "#ffffff",
    "leaderboard.striped": true
  }' \
  -o image.png

Other table styles

Dark Header Table questions

What does the Dark header style change on the table component?

High-contrast header row with brand colors. It sets 3 properties on the table component: headerBg, headerColor, striped. Everything else keeps the component's defaults, so your data and layout carry over.

How do I render the dark header 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.headerBg and leaderboard.headerColor) in the render request. Each render can carry different data while keeping the Dark header 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.