Live icon · Progress · 20 styles · free
Star rating live icon
A rating out of five: five stars in a compact two-row layout (half stars included), or one star over the score. Set it here, then download it or paste it anywhere.
Set what it shows
Style Line clean outlines
Colour Style colours
On this page
Star rating in all 20 styles
Same values, 20 personalities. Pick one to use it above.
For developersOne element or component with your settings: HTML, React or Vue
Install it with npm i @withicons/dynamic, or copy the HTML tab as is. The code follows everything you set above: values, style, colours and size.
<script src="https://cdn.jsdelivr.net/npm/@withicons/dynamic@0.2.1/dist/cdn/lite.js"></script>
<with-live-icon name="rating-stars" rating="3.5" layout="stars" empty="dots" size="48"></with-live-icon>import { LiveIcon } from '@withicons/dynamic/react'
export function Example() {
return <LiveIcon name="rating-stars" rating={3.5} layout="stars" empty="dots" size={48} />
}<script setup>
import { LiveIcon } from '@withicons/dynamic/vue'
</script>
<template>
<LiveIcon name="rating-stars" :rating="3.5" layout="stars" empty="dots" :size="48" />
</template>What you can change
| Setting | What you can set | Default | Attribute |
|---|---|---|---|
| Rating (out of 5)Number | 0 to 5, steps of 0.5 | 3.5 | rating |
| LayoutChoice | stars, score | stars | layout |
| Stars not earnedChoice | dots, small stars, hidden | dots | empty |
Also called star rating five stars stars rating review stars rating score stars score rating five
Questions
How do I change the rating on the star rating icon?
Use the controls next to the preview. Rating, Layout, and Stars not earned can all be changed, the icon redraws as you go, and the download uses exactly what you see.
Is the star rating icon free?
Yes. It is free for personal and commercial use under the MIT license, in all 20 styles. No sign-up, no credit needed.
Can I use it in PowerPoint, Google Slides or Canva?
Yes. Download a PNG (see-through background), an SVG or a ready PowerPoint slide, then drag it into your slide or design. SVG stays sharp at any size.
How do I add it to a website?
Add the @withicons/dynamic script and write <with-live-icon name="rating-stars"> with your values as attributes. React and Vue get a LiveIcon component.