- Components
- Shapes
- Arrow
Arrow Shapes
A right-pointing arrow for CTAs and flow diagrams, recolorable on every API call to match each design. Add arrow shapes to your generated images free.
Updated

What this style sets
A style is the shapes component with a few properties set. Send these, or start from the style in the editor.
{
"star.path": "M 8 38 L 58 38 L 58 18 L 92 50 L 58 82 L 58 62 L 8 62 Z",
"star.fillColor": "#4F46E5",
"star.strokeColor": "transparent"
}Good for
- CTA pointers in promo images
- Flow and process diagrams
- Direction cues in tutorial graphics
Try your own data
Change the arrow shapes 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 arrow shapes with different values. The JSON is what you send.
CTA pointer
A wide green arrow aimed at an imagined "Start free trial" button on a promo banner.
{
"star.path": "M 8 38 L 58 38 L 58 18 L 92 50 L 58 82 L 58 62 L 8 62 Z",
"star.fillColor": "#10B981",
"star.strokeColor": "transparent"
}Next-step arrow on dark
A crisp white arrow marking the flow between two imagined steps in a dark tutorial graphic.
{
"star.path": "M 8 38 L 58 38 L 58 18 L 92 50 L 58 82 L 58 62 L 8 62 Z",
"star.fillColor": "#F8FAFC",
"star.strokeColor": "transparent"
}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": "#4F46E5",
"star.path": "M 8 38 L 58 38 L 58 18 L 92 50 L 58 82 L 58 62 L 8 62 Z",
"star.strokeColor": "transparent"
}' \
-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": "#4F46E5",
"star.path": "M 8 38 L 58 38 L 58 18 L 92 50 L 58 82 L 58 62 L 8 62 Z",
"star.strokeColor": "transparent"
}),
})
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": "#4F46E5",
"star.path": "M 8 38 L 58 38 L 58 18 L 92 50 L 58 82 L 58 62 L 8 62 Z",
"star.strokeColor": "transparent"
},
)
response.raise_for_status()
with open("image.png", "wb") as f:
f.write(response.content)Other shapes styles
Arrow Shapes questions
What does the Arrow style change on the shapes component?
A right-pointing arrow — CTAs and flow diagrams. It sets 3 properties on the shapes component: path, fillColor, strokeColor. Everything else keeps the component's defaults, so your data and layout carry over.
How do I render the arrow shapes through the API?
Add a shapes component to a design, then send its data together with the style's properties as flat overrides (for example star.path and star.fillColor) in the render request. Each render can carry different data while keeping the Arrow look.
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.
Where the shapes component fits
Free tools built on it, guides that use it, and the components that sit beside it.


