Emoji rating

Rating styletype: "rating"

Use any emoji — fire, pizza, hearts — as the rating unit via the custom icon shape, with the value set on every API call. Make emoji ratings free.

Edit it — this is the actual editor panel
Design JSON — “Emoji” 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": 260,
        "y": 182
      },
      "rotation": 0,
      "size": {
        "width": 280,
        "height": 56
      },
      "dynamic": true,
      "properties": {
        "value": 4,
        "max": 5,
        "iconShape": "custom",
        "activeColor": "#FBBF24",
        "inactiveColor": "#E5E7EB",
        "emptyStyle": "filled",
        "partial": "exact",
        "showValue": false,
        "valueFormat": "decimal",
        "opacity": 1,
        "customEmoji": "🔥"
      }
    }
  ]
}

Rating examples

Real renders of the emoji rating — each one is the same component with different property values, and the API payload below each preview reproduces it exactly.

Spice level on a menu card

Three of five chili peppers marking a dish as medium-hot.

API overrides for this example
{
  "score.iconShape": "custom",
  "score.customEmoji": "🌶️",
  "score.value": 3
}

Pizza place review

A 4.5-pizza score for a playful restaurant review graphic.

API overrides for this example
{
  "score.iconShape": "custom",
  "score.customEmoji": "🍕",
  "score.value": 4.5
}

When to use the emoji style

  • Playful product scores (fire out of 5)
  • Food and restaurant review graphics
  • Community poll result images

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": 4,
    "score.max": 5,
    "score.iconShape": "custom",
    "score.activeColor": "#FBBF24",
    "score.inactiveColor": "#E5E7EB",
    "score.emptyStyle": "filled",
    "score.partial": "exact",
    "score.showValue": false,
    "score.valueFormat": "decimal",
    "score.opacity": 1,
    "score.customEmoji": "🔥"
}'

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.