Star icon
fa-regular:star
The Star icon (fa-regular:star) is a free SVG icon from the Font Awesome 5 Regular set by Dave Gandy. It is drawn on a 576 × 512 grid. Font Awesome 5 Regular icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Font Awesome 5 Regular
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 576 × 512
- Category
- Interfaces, Shapes, Social, Toggle, Payments & Shopping, Objects, Status
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="576" height="512" viewBox="0 0 576 512"><path fill="currentColor" d="M528.1 171.5L382 150.2L316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2L47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103l-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5l105.7-103c19-18.5 8.5-50.8-17.7-54.6M388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3l23.7-138.4l-100.6-98l139-20.2l62.2-126l62.2 126l139 20.2z"/></svg>How to use the Star icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa-regular:star" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa-regular:star" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa-regular:star" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa-regular--star]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa-regular -->
<div class="i-fa-regular:star"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa-regular:star"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa-regular/star.svg" alt="Star icon" width="24" height="24">Related icons in Font Awesome 5 Regular
Star icon in other icon sets
Star icon FAQ
Is the Star icon free for commercial use?
Yes. Font Awesome 5 Regular icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Star icon in React?
Install @iconify/react and render <Icon icon="fa-regular: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/fa-regular/star.svg" alt="Star icon">, or paste the SVG code inline to style it with CSS.