Data
- Components
- Shapes
- Shapes
Shapes
type: "shape"4 styles · 12 propertiesRenders any SVG path with fill, stroke and aspect-ratio control — stars, arrows, blobs, logos and every custom vector in between.
Updated




Try your own data
Change the shapes here with the same controls the editor shows. The preview updates as you type, and you get the API request for your changes.
4 styles
Pick one to preview itExamples
Each example is the same shapes with different values. The JSON is what you send.
Featured-product star
A gold star with a darker outline, ready to sit beside an imagined "Editor's pick" product title.
{
"star.fillColor": "#FBBF24",
"star.strokeColor": "#D97706",
"star.strokeWidth": 3
}Star burst on a dark hero
A soft violet star as the decorative centerpiece of a dark launch-announcement backdrop.
{
"star.fillColor": "#A78BFA"
}Good for
- Brand marks and logo shapes stamped into generated images
- Decorative blobs and stars behind content
- Arrows and callouts in explainer graphics
New values, every render
Recolor per render with '<key>.fillColor'; strokeColor, strokeWidth and even the path are overridable. 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 '{
"star.fillColor": "#8B5CF6"
}' \
-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({
"star.fillColor": "#8B5CF6"
}),
})
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={
"star.fillColor": "#8B5CF6"
},
)
response.raise_for_status()
with open("image.png", "wb") as f:
f.write(response.content)Properties
Every property works the same in the editor, in design JSON and as an API override.
12 properties shown
| Property | Type | Default | What it does |
|---|---|---|---|
| Data | |||
path | string | "M 10 10 L 90 90" | SVG path data drawn inside the viewBox. |
viewBox | string | "0 0 100 100" | SVG viewBox the path coordinates are relative to. |
| Look | |||
fillColor | color | "#808080" | Fill color. |
strokeColor | color | "transparent" | Stroke (outline) color. |
strokeWidth | number | 0 | Stroke width in viewBox units. |
preserveAspectRatio | string | "xMidYMid meet" | SVG preserveAspectRatio value controlling how the path scales. |
| Frame | |||
opacity | number | 1 | Overall component opacity from 0 (transparent) to 1 (opaque). |
borderWidth | number | 0 | Border thickness in pixels around the component. |
borderColor | color | "transparent" | Border color (any CSS color). |
borderStyle | 'solid' | 'dashed' | 'dotted' | 'double' | 'none' | "solid" | Border line style. |
borderRadius | number | 0 | Corner radius in pixels. |
boxShadow | string | — | CSS box-shadow applied to the component, e.g. "0 4px 6px rgba(0,0,0,0.1)". |
Shapes questions
Can I use my own SVG shapes?
Yes — the path property takes raw SVG path data with a matching viewBox, so any single-path vector renders directly.
Can I change the shape or color per API call?
Yes — '<key>.fillColor' recolors it, and strokeColor, strokeWidth and even the path itself are overridable per render.
Can I render outline-only shapes?
Set fillColor to transparent and give strokeColor and strokeWidth — the Outlined variant shows exactly this.
How does the shape scale inside its box?
Path coordinates are relative to the viewBox and scale to the component size; preserveAspectRatio controls whether the aspect ratio is kept.
Where the shapes component fits
Free tools built on it, guides that use it, and the components that sit beside it.