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 Grommet-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
- Apache License Version 2.0
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/grommet/star.jsonimport * as React from "react";
/**
* Star from Grommet-Icons (https://github.com/grommet/grommet-icons), Apache License Version 2.0.
* Via Cuelark UI: ui.cuelark.com/icons/grommet/star. Sized in em, colored by currentColor.
*/
export function GrStarIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<polygon
fillRule="evenodd"
points="12 16.667 5 22 8 14 2 9.5 9.5 9.5 12 2 14.5 9.5 22 9.5 16 14 19 22"
/>
</svg>
);
}import { GrStar } from "react-icons/gr";
export function Example() {
return <GrStar className="size-5" />;
}<svg
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<polygon
fill-rule="evenodd"
points="12 16.667 5 22 8 14 2 9.5 9.5 9.5 12 2 14.5 9.5 22 9.5 16 14 19 22"
/>
</svg>"Star" icon from Grommet-Icons (https://github.com/grommet/grommet-icons), licensed under Apache License Version 2.0.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 · Feather
- Star · Lucide
- Star · Bootstrap Icons
- Star · Heroicons
- Star · Heroicons 2
- Star · Simple Line Icons
- Star · BoxIcons
- Star · Tabler Icons
- Star · Themify Icons
- Star · Radix Icons
- Star · Phosphor Icons