- Components
- Metric
- Currency
Currency Metric
Revenue counters formatted as money — custom currency symbol, thousands separators and a growth delta — refreshed on every API call. Try imejis free.
Updated

What this style sets
A style is the metric component with a few properties set. Send these, or start from the style in the editor.
{
"revenue.value": 128400,
"revenue.format": "currency",
"revenue.currencySymbol": "$",
"revenue.label": "Monthly revenue",
"revenue.delta": 6.8,
"revenue.showDelta": true
}Good for
- Daily sales totals posted to Slack
- MRR and ARR tiles for investor updates
- Storefront revenue milestone cards
Try your own data
Change the currency metric 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 currency metric with different values. The JSON is what you send.
MRR tile for an investor update
Monthly recurring revenue in dollars with month-over-month growth.
{
"revenue.value": 86300,
"revenue.format": "currency",
"revenue.currencySymbol": "$",
"revenue.label": "MRR",
"revenue.delta": 9.2,
"revenue.showDelta": true
}Euro storefront takings
Daily shop revenue in euros — same tile, different currency symbol.
{
"revenue.value": 4680,
"revenue.format": "currency",
"revenue.currencySymbol": "€",
"revenue.label": "Sales today",
"revenue.delta": 3.1,
"revenue.showDelta": true
}New values, every render
Push the latest number with '<key>.value' and the change with '<key>.delta'; label, format and the '<key>.sparkline' trend series 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 '{
"revenue.value": 128400,
"revenue.delta": 6.8,
"revenue.format": "currency",
"revenue.currencySymbol": "$",
"revenue.label": "Monthly revenue",
"revenue.showDelta": 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({
"revenue.value": 128400,
"revenue.delta": 6.8,
"revenue.format": "currency",
"revenue.currencySymbol": "$",
"revenue.label": "Monthly revenue",
"revenue.showDelta": 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={
"revenue.value": 128400,
"revenue.delta": 6.8,
"revenue.format": "currency",
"revenue.currencySymbol": "$",
"revenue.label": "Monthly revenue",
"revenue.showDelta": True
},
)
response.raise_for_status()
with open("image.png", "wb") as f:
f.write(response.content)Other metric styles
Currency Metric questions
What does the Currency style change on the metric component?
A revenue counter formatted as money with a growth delta badge. It sets 6 properties on the metric component: value, format, currencySymbol, label, delta, showDelta. Everything else keeps the component's defaults, so your data and layout carry over.
How do I render the currency metric through the API?
Add a metric component to a design, then send its data together with the style's properties as flat overrides (for example revenue.value and revenue.format) in the render request. Each render can carry different data while keeping the Currency look.
Can the number update on every API call?
Yes — send '<key>.value' plus '<key>.delta' for the change badge; the label and format are overridable too.
How are values formatted?
format supports number (48,250), compact (48.3K), percent, currency with a custom currencySymbol, or none for raw text — plus prefix and suffix strings.
Where the metric component fits
Free tools built on it, guides that use it, and the components that sit beside it.




