Stars icon
stash:stars
The Stars icon (stash:stars) is a free SVG icon from the Stash Icons set by Pingback LLC. It is drawn on a 24 × 24 grid. Stash Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Stash Icons
- Author
- Pingback LLC
- License
- MIT
- Size
- 24 × 24
- Tags
- star
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7.846 8.822c.427-1.027 1.881-1.027 2.308 0l1.214 2.919l3.151.252c1.108.09 1.558 1.472.713 2.195l-2.4 2.057l.733 3.075c.258 1.081-.918 1.936-1.867 1.357L9 19.029l-2.698 1.648c-.949.58-2.125-.276-1.867-1.357l.733-3.075l-2.4-2.057c-.845-.723-.395-2.106.713-2.195l3.15-.252zM9 9.953l-1.042 2.505a1.25 1.25 0 0 1-1.054.766L4.2 13.44l2.06 1.765c.356.305.512.784.403 1.24l-.63 2.638l2.315-1.414a1.25 1.25 0 0 1 1.304 0l2.315 1.414l-.63-2.638a1.25 1.25 0 0 1 .403-1.24l2.06-1.765l-2.704-.216a1.25 1.25 0 0 1-1.054-.766zm4.077-7.035c.341-.821 1.505-.821 1.846 0l.48 1.152l1.243.1c.886.07 1.246 1.177.57 1.756l-.947.811l.29 1.214c.206.865-.735 1.549-1.494 1.085L14 8.386l-1.065.65c-.759.464-1.7-.22-1.494-1.085l.29-1.214l-.947-.811c-.676-.579-.317-1.685.57-1.757l1.244-.1zm1.402 1.536L14 3.302l-.48 1.152a1 1 0 0 1-.842.613l-1.244.1l.947.81a1 1 0 0 1 .323.992l-.29 1.214l1.065-.65a1 1 0 0 1 1.042 0l1.065.65l-.29-1.214a1 1 0 0 1 .323-.991l.947-.812l-1.243-.1a1 1 0 0 1-.844-.612m4.068 5.516a.5.5 0 0 1 .906 0l.425.91a.5.5 0 0 0 .241.242l.91.425a.5.5 0 0 1 0 .906l-.91.425a.5.5 0 0 0-.241.241l-.425.91a.5.5 0 0 1-.906 0l-.425-.91a.5.5 0 0 0-.241-.241l-.91-.425a.5.5 0 0 1 0-.906l.91-.425a.5.5 0 0 0 .241-.241z"/></svg>How to use the Stars icon
React
import { Icon } from "@iconify/react";
<Icon icon="stash:stars" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="stash:stars" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="stash:stars" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[stash--stars]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/stash -->
<div class="i-stash:stars"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="stash:stars"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/stash/stars.svg" alt="Stars icon" width="24" height="24">Related icons in Stash Icons
Stars icon in other icon sets
Stars icon FAQ
Is the Stars icon free for commercial use?
Yes. Stash Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Stars icon in React?
Install @iconify/react and render <Icon icon="stash:stars" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Stars icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/stash/stars.svg" alt="Stars icon">, or paste the SVG code inline to style it with CSS.