Rating icon
flat-color-icons:rating
The Rating icon (flat-color-icons:rating) is a free SVG icon from the Flat Color Icons set by Icons8. It is drawn on a 48 × 48 grid. Flat Color Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Flat Color Icons
- Author
- Icons8
- License
- MIT
- Size
- 48 × 48
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><circle cx="24" cy="24" r="21" fill="#F44336"/><path fill="#FFCA28" d="m24 11l3.9 7.9l8.7 1.3l-6.3 6.1l1.5 8.7l-7.8-4.1l-7.8 4.1l1.5-8.7l-6.3-6.1l8.7-1.3z"/></svg>How to use the Rating icon
React
import { Icon } from "@iconify/react";
<Icon icon="flat-color-icons:rating" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="flat-color-icons:rating" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="flat-color-icons:rating" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[flat-color-icons--rating]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/flat-color-icons -->
<div class="i-flat-color-icons:rating"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="flat-color-icons:rating"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/flat-color-icons/rating.svg" alt="Rating icon" width="24" height="24">Related icons in Flat Color Icons
Rating icon in other icon sets
Rating icon FAQ
Is the Rating icon free for commercial use?
Yes. Flat Color Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Rating icon in React?
Install @iconify/react and render <Icon icon="flat-color-icons:rating" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Rating icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/flat-color-icons/rating.svg" alt="Rating icon">, or paste the SVG code inline to style it with CSS.