Two stars, a large and a small one, for favourites, ratings and highlights. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M7.8662 10.504C7.9141 10.389 8.026 10.315 8.15 10.315C8.274 10.315 8.3859 10.389 8.4338 10.504L9.9151 14.051C9.9595 14.157 10.0595 14.23 10.1743 14.239L14.017 14.546C14.1409 14.555 14.2467 14.639 14.285 14.757C14.3233 14.876 14.2867 15.005 14.1921 15.086L11.2663 17.582C11.1783 17.657 11.1398 17.775 11.1668 17.888L12.061 21.621C12.0899 21.742 12.0434 21.868 11.943 21.941C11.8427 22.014 11.7082 22.02 11.6021 21.955L8.3098 19.952C8.2116 19.893 8.0884 19.893 7.9902 19.952L4.6979 21.955C4.5918 22.02 4.4573 22.014 4.357 21.941C4.2566 21.868 4.2101 21.742 4.239 21.621L5.1332 17.888C5.1602 17.775 5.1217 17.657 5.0337 17.582L2.1079 15.086C2.0133 15.005 1.9766 14.876 2.015 14.757C2.0533 14.639 2.1591 14.555 2.283 14.546L6.1257 14.239C6.2405 14.23 6.3405 14.157 6.385 14.051L7.8662 10.504ZM17.2924 2.138C17.3274 2.054 17.4092 2 17.5 2C17.5908 2 17.6726 2.054 17.7076 2.138L18.7915 4.734C18.824 4.811 18.8972 4.864 18.9812 4.871L21.7929 5.095C21.8836 5.103 21.961 5.164 21.989 5.251C22.0171 5.337 21.9902 5.432 21.921 5.491L19.7802 7.317C19.7158 7.372 19.6877 7.459 19.7074 7.541L20.3617 10.273C20.3829 10.361 20.3488 10.453 20.2754 10.507C20.202 10.56 20.1036 10.564 20.0259 10.517L17.6169 9.052C17.5451 9.008 17.4549 9.008 17.3831 9.052L14.9741 10.517C14.8964 10.564 14.798 10.56 14.7246 10.507C14.6512 10.453 14.6171 10.361 14.6383 10.273L15.2926 7.541C15.3123 7.459 15.2842 7.372 15.2198 7.317L13.079 5.491C13.0098 5.432 12.9829 5.337 13.011 5.251C13.039 5.164 13.1164 5.103 13.2071 5.095L16.0188 4.871C16.1028 4.864 16.176 4.811 16.2085 4.734L17.2924 2.138Z"/>
</svg>Also called
What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.
- favourites
- ratings
- night sky
- sparkle
Related icons
Closest to stars first: its name counts most, then what people search for it by, then the rest of the Actions shelf.
FAQ
Answered from stars's own facts: its shelf, the styles it was drawn in, its siblings and its dates.
- What is the stars icon for?
- Two stars, a large and a small one, for favourites, ratings and highlights. It is filed under Actions in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as favourites, ratings, night sky and sparkle, and the browser's search matches all of those.
- What styles does the stars icon come in?
- All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
- Is there a square or circle version of stars?
- No. stars is drawn as a bare glyph, and the set has no boxed variant of it.
- What other icons go with stars?
- heart-off, hearts, heart-plus, alert, badge and ban, and 12 more, all shown below. Closest to stars first: its name counts most, then what people search for it by, then the rest of the Actions shelf.
- How do I import stars in React?
- <Stars /> is the component, and the style decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <Stars size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
- Where is the stars SVG?
- icons/stroke/stars.svg, icons/two-tone/stars.svg, icons/duotone/stars.svg and icons/fill/stars.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
- When was stars added to the set?
- Added 26 Nov 2026. It ships in v3.2.0, so an install at that version or later has it.
Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.