- Components
- Table
- Dark header
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

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.
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.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]
],
"leaderboard.headerBg": "#111827",
"leaderboard.headerColor": "#ffffff",
"leaderboard.striped": true
}),
})
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]
],
"leaderboard.headerBg": "#111827",
"leaderboard.headerColor": "#ffffff",
"leaderboard.striped": True
},
)
response.raise_for_status()
with open("image.png", "wb") as f:
f.write(response.content)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.
Where the table component fits
Free tools built on it, guides that use it, and the components that sit beside it.



