Hover the icon or press Play. Suggested motion: twinkle. Pick another to preview it and update the animated code:
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
npx shadcn@latest add https://ui.cuelark.com/r/icons/feather/star.jsonimport * 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>
);
}import { FiStar } from "react-icons/fi";
export function Example() {
return <FiStar className="size-5" />;
}<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>"Star" icon from Feather (https://feathericons.com/), licensed under MIT license.Related icons: favorite, rating, review, bookmark
Star icon in other sets
- Star · Circum Icons
- Star · Font Awesome 5
- Star · Font Awesome 6
- Star · Ionicons 5
- Star · Material Design icons
- Star · Typicons
- Star · Github Octicons icons
- Star · Lucide
- Star · Bootstrap Icons
- Star · Grommet-Icons
- Star · Heroicons
- Star · Heroicons 2
- Star · Simple Line Icons
- Star · BoxIcons
- Star · Tabler Icons
- Star · Themify Icons
- Star · Radix Icons
- Star · Phosphor Icons