- Components
- Rectangle
- Outlined card
Outlined Card Rectangle
A white card with a subtle border and soft shadow — the classic content container, recolorable on every API call. Build card layouts free with imejis.
Updated

What this style sets
A style is the rectangle component with a few properties set. Send these, or start from the style in the editor.
{
"panel.fillColor": "#ffffff",
"panel.borderWidth": 1,
"panel.borderColor": "#E5E7EB",
"panel.borderRadius": 16,
"panel.boxShadow": "0 10px 25px rgba(0,0,0,0.08)"
}Good for
- Content containers in OG images
- Testimonial and quote cards
- Stat tile backdrops
Try your own data
Change the outlined card rectangle 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 outlined card rectangle with different values. The JSON is what you send.
Testimonial quote card
A wide white card on a soft gray canvas — the container behind an imagined customer quote and avatar.
{
"panel.fillColor": "#ffffff",
"panel.borderWidth": 1,
"panel.borderColor": "#E5E7EB",
"panel.borderRadius": 20,
"panel.boxShadow": "0 10px 25px rgba(0,0,0,0.08)"
}KPI stat tile
A compact tile sized for a single metric and its label in a dashboard snapshot.
{
"panel.fillColor": "#ffffff",
"panel.borderWidth": 1,
"panel.borderColor": "#E5E7EB",
"panel.borderRadius": 12,
"panel.boxShadow": "0 4px 12px rgba(0,0,0,0.06)"
}New values, every render
Recolor per render with '<key>.fillColor'; opacity and borderColor are overridable too. 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 '{
"panel.fillColor": "#ffffff",
"panel.borderWidth": 1,
"panel.borderColor": "#E5E7EB",
"panel.borderRadius": 16,
"panel.boxShadow": "0 10px 25px rgba(0,0,0,0.08)"
}' \
-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({
"panel.fillColor": "#ffffff",
"panel.borderWidth": 1,
"panel.borderColor": "#E5E7EB",
"panel.borderRadius": 16,
"panel.boxShadow": "0 10px 25px rgba(0,0,0,0.08)"
}),
})
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={
"panel.fillColor": "#ffffff",
"panel.borderWidth": 1,
"panel.borderColor": "#E5E7EB",
"panel.borderRadius": 16,
"panel.boxShadow": "0 10px 25px rgba(0,0,0,0.08)"
},
)
response.raise_for_status()
with open("image.png", "wb") as f:
f.write(response.content)Other rectangle styles
Outlined Card Rectangle questions
What does the Outlined card style change on the rectangle component?
White card with a subtle border and shadow — content containers. It sets 5 properties on the rectangle component: fillColor, borderWidth, borderColor, borderRadius, boxShadow. Everything else keeps the component's defaults, so your data and layout carry over.
How do I render the outlined card rectangle through the API?
Add a rectangle component to a design, then send its data together with the style's properties as flat overrides (for example panel.fillColor and panel.borderWidth) in the render request. Each render can carry different data while keeping the Outlined card look.
Can I change the color per API call?
Yes — '<key>.fillColor' recolors the rectangle per render; opacity and border properties are overridable too.
Can I make rounded cards and pills?
borderRadius rounds the corners — push it high for a fully-rounded pill — and borders and box shadows finish the card look.
Where the rectangle component fits
Free tools built on it, guides that use it, and the components that sit beside it.

