Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:

Flat Color Icons · FcRatings

Ratings icon

A free ratings icon from Flat Color Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
MIT license
Project
github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/flat-color/ratings.json
components/icons/flat-color-ratings.tsx
import * as React from "react";

/**
 * Ratings from Flat Color Icons (https://github.com/icons8/flat-color-icons), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/flat-color/ratings. Sized in em, colored by currentColor.
 */
export function FcRatingsIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      version="1"
      viewBox="0 0 48 48"
      enableBackground="new 0 0 48 48"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <polygon fill="#42A5F5" points="36,44 8,44 8,8 28,8 36,16" />
      <polygon fill="#90CAF9" points="40,40 12,40 12,4 32,4 40,12" />
      <polygon fill="#E1F5FE" points="38.5,13 31,13 31,5.5" />
      <polygon
        fill="#1976D2"
        points="34,20 27,20 29.4,22.4 27,24.9 23,20.9 16.9,26.9 19.1,29.1 23,25.1 27,29.1 31.6,24.6 34,27"
      />
    </svg>
  );
}
With react-icons
import { FcRatings } from "react-icons/fc";

export function Example() {
  return <FcRatings className="size-5" />;
}
ratings.svg
<svg
  version="1"
  viewBox="0 0 48 48"
  enable-background="new 0 0 48 48"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <polygon fill="#42A5F5" points="36,44 8,44 8,8 28,8 36,16" />
  <polygon fill="#90CAF9" points="40,40 12,40 12,4 32,4 40,12" />
  <polygon fill="#E1F5FE" points="38.5,13 31,13 31,5.5" />
  <polygon
    fill="#1976D2"
    points="34,20 27,20 29.4,22.4 27,24.9 23,20.9 16.9,26.9 19.1,29.1 23,25.1 27,29.1 31.6,24.6 34,27"
  />
</svg>
Attribution
"Ratings" icon from Flat Color Icons (https://github.com/icons8/flat-color-icons), licensed under MIT license.