Skip to content
Cuelark UI

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

Feather · FiStar

Star icon

A free star icon from Feather, 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
feathericons.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/feather/star.json
components/icons/feather-star.tsx
import * as React from "react";

/**
 * Star from Feather (https://feathericons.com/), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/feather/star. Sized in em, colored by currentColor.
 */
export function FiStarIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      fill="none"
      strokeWidth="2"
      viewBox="0 0 24 24"
      strokeLinecap="round"
      strokeLinejoin="round"
      stroke="currentColor"
      fill="currentColor"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <polygon
        points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
      />
    </svg>
  );
}
With react-icons
import { FiStar } from "react-icons/fi";

export function Example() {
  return <FiStar className="size-5" />;
}
star.svg
<svg
  fill="none"
  stroke-width="2"
  viewBox="0 0 24 24"
  stroke-linecap="round"
  stroke-linejoin="round"
  stroke="currentColor"
  fill="currentColor"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <polygon
    points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
  />
</svg>
Attribution
"Star" icon from Feather (https://feathericons.com/), licensed under MIT license.

Related icons: favorite, rating, review, bookmark

Star icon in other sets