Star icon
fa6-solid:star
The Star icon (fa6-solid:star) is a free SVG icon from the Font Awesome 6 Solid set by Dave Gandy. It is drawn on a 576 × 512 grid. Font Awesome 6 Solid 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 6 Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 576 × 512
- Category
- Objects, Status, Social, Toggle, Interfaces, Shapes, Payments & Shopping
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="576" height="512" viewBox="0 0 576 512"><path fill="currentColor" d="M316.9 18c-5.3-11-16.5-18-28.8-18s-23.4 7-28.8 18L195 150.3L51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329l-24.6 145.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5l128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329l104.2-103.1c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7l-143.7-21.2z"/></svg>How to use the Star icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa6-solid:star" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa6-solid:star" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa6-solid:star" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa6-solid--star]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa6-solid -->
<div class="i-fa6-solid:star"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa6-solid:star"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa6-solid/star.svg" alt="Star icon" width="24" height="24">Related icons in Font Awesome 6 Solid
Star icon in other icon sets
Star icon FAQ
Is the Star icon free for commercial use?
Yes. Font Awesome 6 Solid 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="fa6-solid: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/fa6-solid/star.svg" alt="Star icon">, or paste the SVG code inline to style it with CSS.