Star icon
stash:star
The Star icon (stash:star) 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
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10.846 3.822c.427-1.027 1.88-1.027 2.308 0l1.743 4.19l4.524.363c1.108.089 1.558 1.472.713 2.195l-3.447 2.953l1.053 4.415c.258 1.081-.918 1.936-1.867 1.357L12 16.929l-3.873 2.366c-.95.58-2.126-.276-1.868-1.357l1.053-4.415l-3.447-2.953c-.844-.723-.395-2.106.714-2.195l4.524-.363zM12 4.953L10.429 8.73a1.25 1.25 0 0 1-1.054.765l-4.077.327l3.106 2.661c.356.305.511.784.403 1.24l-.95 3.978l3.491-2.132a1.25 1.25 0 0 1 1.303 0l3.49 2.132l-.948-3.978a1.25 1.25 0 0 1 .403-1.24l3.106-2.66l-4.077-.328a1.25 1.25 0 0 1-1.055-.765z"/></svg>How to use the Star icon
React
import { Icon } from "@iconify/react";
<Icon icon="stash:star" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="stash:star" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="stash:star" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[stash--star]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/stash -->
<div class="i-stash:star"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="stash:star"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/stash/star.svg" alt="Star icon" width="24" height="24">Related icons in Stash Icons
Star icon in other icon sets
Star icon FAQ
Is the Star 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 Star icon in React?
Install @iconify/react and render <Icon icon="stash:star" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Star icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/stash/star.svg" alt="Star icon">, or paste the SVG code inline to style it with CSS.