Star icon
feather:star
The Star icon (feather:star) is a free SVG icon from the Feather Icons set by Cole Bemis. It is drawn on a 24 × 24 grid. Feather 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
- Feather Icons
- Author
- Cole Bemis
- 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="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m12 2l3.09 6.26L22 9.27l-5 4.87l1.18 6.88L12 17.77l-6.18 3.25L7 14.14L2 9.27l6.91-1.01z"/></svg>How to use the Star icon
React
import { Icon } from "@iconify/react";
<Icon icon="feather:star" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="feather:star" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="feather:star" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[feather--star]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/feather -->
<div class="i-feather:star"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="feather:star"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/feather/star.svg" alt="Star icon" width="24" height="24">Star icon in other icon sets
Star icon FAQ
Is the Star icon free for commercial use?
Yes. Feather 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="feather: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/feather/star.svg" alt="Star icon">, or paste the SVG code inline to style it with CSS.