Star Fill icon
prime:star-fill
The Star Fill icon (prime:star-fill) is a free SVG icon from the Prime Icons set by PrimeTek. It is drawn on a 24 × 24 grid. Prime 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
- Prime Icons
- Author
- PrimeTek
- License
- MIT
- Size
- 24 × 24
- Tags
- starfill
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21.12 9.88a.74.74 0 0 0-.6-.51l-5.42-.79l-2.43-4.91a.78.78 0 0 0-1.34 0L8.9 8.58l-5.42.79a.74.74 0 0 0-.6.51a.75.75 0 0 0 .18.77L7 14.47l-.93 5.4a.76.76 0 0 0 .3.74a.75.75 0 0 0 .79.05L12 18.11l4.85 2.55a.73.73 0 0 0 .35.09a.8.8 0 0 0 .44-.14a.76.76 0 0 0 .3-.74l-.94-5.4l3.93-3.82a.75.75 0 0 0 .19-.77"/></svg>How to use the Star Fill icon
React
import { Icon } from "@iconify/react";
<Icon icon="prime:star-fill" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="prime:star-fill" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="prime:star-fill" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[prime--star-fill]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/prime -->
<div class="i-prime:star-fill"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="prime:star-fill"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/prime/star-fill.svg" alt="Star Fill icon" width="24" height="24">Related icons in Prime Icons
Star Fill icon in other icon sets
Star Fill icon FAQ
Is the Star Fill icon free for commercial use?
Yes. Prime Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Star Fill icon in React?
Install @iconify/react and render <Icon icon="prime:star-fill" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Star Fill icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/prime/star-fill.svg" alt="Star Fill icon">, or paste the SVG code inline to style it with CSS.