Arrow shapes
Shapes styletype: "shape"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.
Design JSON — “Arrow” variant
{
"title": "Shape sample",
"description": "A dynamic star shape",
"dimensions": {
"width": 800,
"height": 420
},
"background": {
"color": "#ffffff"
},
"components": [
{
"id": "sample-shape",
"key": "star",
"type": "shape",
"position": {
"x": 290,
"y": 100
},
"rotation": 0,
"size": {
"width": 220,
"height": 220
},
"dynamic": true,
"properties": {
"path": "M 8 38 L 58 38 L 58 18 L 92 50 L 58 82 L 58 62 L 8 62 Z",
"viewBox": "0 0 100 100",
"fillColor": "#4F46E5",
"strokeColor": "transparent",
"strokeWidth": 0,
"opacity": 1
}
}
]
}Shapes examples
Real renders of the arrow shapes — each one is the same component with different property values, and the API payload below each preview reproduces it exactly.
CTA pointer
A wide green arrow aimed at an imagined "Start free trial" button on a promo banner.
API overrides for this example
{
"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.
API overrides for this example
{
"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"
}When to use the arrow style
- CTA pointers in promo images
- Flow and process diagrams
- Direction cues in tutorial graphics
Use it dynamically via the API
Recolor per render with '<key>.fillColor' (or just '<key>'); strokeColor, strokeWidth and even the path are overridable.
Full API request with this variant's current values — the playground above sends only the properties you change
curl --location 'https://render.imejis.io/v1/{{YOUR_DESIGN_ID}}' \
--header 'dma-api-key: {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"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.viewBox": "0 0 100 100",
"star.fillColor": "#4F46E5",
"star.strokeColor": "transparent",
"star.strokeWidth": 0,
"star.opacity": 1
}'Only send the properties you want to change — everything else keeps its design value. See the API documentation for all languages.
Other shapes styles
See the shapes component page for the full property reference and FAQs.