Opus Motion ★ Star on GitHub

UI · review-stars-rating

Review stars rating

Stars fill one after another up to a rating (the last one partially) while a big score counts up and the review count ticks; an optional 5-to-1 star breakdown bars fill beside it, with a glint over the stars at the end.

A free, MIT-licensed UI animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Review stars rating: three frames of the UI animation, start, middle and end
Review stars rating — start, middle and end of the 6.0-second motion.

What Review stars rating is for

App-store / product ratings, "rated 4.8 by customers" proof, review summaries, satisfaction scores, restaurant / course / service rating reveals and landing-page trust badges.

  • social
  • reviews
  • rating
  • stars
  • score
  • trust
  • marketing
  • counter
  • feedback
  • overlay
  • proof

Details

Category
UI & product mockup animations
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
label
Colour props
background ink accent starColor
Mood
night
Roles
accent, subject

Use Review stars rating in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add review-stars-rating --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render review-stars-rating --props '{"label":"Customer rating","background":"#FBF6EC","ink":"#2A2118","accent":"#E9983A","starColor":"#F5B223"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export review-stars-rating --as webm-alpha --props '{"label":"Customer rating","background":"#FBF6EC","ink":"#2A2118","accent":"#E9983A","starColor":"#F5B223"}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="review-stars-rating"
  props={{
    label: 'Customer rating',
    background: '#FBF6EC',
    ink: '#2A2118',
    accent: '#E9983A',
    starColor: '#F5B223',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="review-stars-rating"
  props='{"label":"Customer rating","background":"#FBF6EC","ink":"#2A2118","accent":"#E9983A","starColor":"#F5B223"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "review-stars-rating",
      "props": {
        "label": "Customer rating",
        "background": "#FBF6EC",
        "ink": "#2A2118",
        "accent": "#E9983A",
        "starColor": "#F5B223"
      }
    }
  ]
}

Review stars rating props

13 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
rating4.8the score, 0..maxStars (decimals fill the last star partially)
maxStars5number of stars (1-10)
reviewCount12480review count shown under the stars (counts up)
label"Customer rating"small caption above the score
reviewsLabel"reviews"word after the review count
note"Based on verified purchases"smaller line under the review count
distribution[78,14,5,2,1]share per star level, 5 stars first (up to 5 numbers, any scale)
showBreakdowntrueshow the distribution bars
background"#FBF6EC"frame colour, or "transparent" to overlay content
ink"#2A2118"text colour
accent"#E9983A"top breakdown bar colour
starColor"#F5B223"filled star colour
startAt0frame the sequence begins

Notes & credits

Technique sources:

  • original (round 3, social & marketing)