Ten-point scale rating
Rating styletype: "rating"Render review scores out of ten as a wide icon row with an exact fractional fill and an "8.6/10" label, set on every API call. Try Imejis free today.
Design JSON — “Ten-point scale” variant
{
"title": "Rating sample",
"description": "A dynamic star rating",
"dimensions": {
"width": 800,
"height": 420
},
"background": {
"color": "#ffffff"
},
"components": [
{
"id": "sample-rating",
"key": "score",
"type": "rating",
"position": {
"x": 60,
"y": 183
},
"rotation": 0,
"size": {
"width": 680,
"height": 54
},
"dynamic": true,
"properties": {
"value": 8.6,
"max": 10,
"iconShape": "star",
"activeColor": "#FBBF24",
"inactiveColor": "#E5E7EB",
"emptyStyle": "filled",
"partial": "exact",
"showValue": true,
"valueFormat": "fraction",
"opacity": 1,
"valueColor": "#374151"
}
}
]
}Rating examples
Real renders of the ten-point scale rating — each one is the same component with different property values, and the API payload below each preview reproduces it exactly.
Album review score
An 8.6/10 music review with the ninth star partially filled to the exact decimal.
API overrides for this example
{
"score.max": 10,
"score.value": 8.6,
"score.partial": "exact",
"score.showValue": true,
"score.valueFormat": "fraction",
"score.valueColor": "#374151",
"score.activeColor": "#8B5CF6"
}Game review on a dark card
A 7.9/10 score in gold on a dark canvas for a review OG image.
API overrides for this example
{
"score.max": 10,
"score.value": 7.9,
"score.partial": "exact",
"score.showValue": true,
"score.valueFormat": "fraction",
"score.valueColor": "#F9FAFB",
"score.inactiveColor": "#4B5563"
}When to use the ten-point scale style
- Game and album review score images
- Critic-style editorial ratings
- Ten-point survey and feedback visuals
Use it dynamically via the API
Set '<key>.value' (or just '<key>') to the score for each render; max, colors and border props are overridable too.
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 '{
"score.value": 8.6,
"score.max": 10,
"score.iconShape": "star",
"score.activeColor": "#FBBF24",
"score.inactiveColor": "#E5E7EB",
"score.emptyStyle": "filled",
"score.partial": "exact",
"score.showValue": true,
"score.valueFormat": "fraction",
"score.opacity": 1,
"score.valueColor": "#374151"
}'Only send the properties you want to change — everything else keeps its design value. See the API documentation for all languages.
Other rating styles
See the rating component page for the full property reference and FAQs.