Star Half icon
prime:star-half
The Star Half icon (prime:star-half) 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
- starhalf
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12.17 3.27c.34.079.58.381.58.73v13.27a.75.75 0 0 1-.401.664l-5.2 2.73a.75.75 0 0 1-1.088-.79l.923-5.402l-3.918-3.825a.75.75 0 0 1 .417-1.28l5.419-.783l2.425-4.916a.75.75 0 0 1 .843-.398m-.92 3.945l-1.177 2.387a.75.75 0 0 1-.566.41l-4.306.623l3.113 3.038a.75.75 0 0 1 .215.663l-.734 4.295l3.455-1.814z" clip-rule="evenodd"/></svg>How to use the Star Half icon
React
import { Icon } from "@iconify/react";
<Icon icon="prime:star-half" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="prime:star-half" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="prime:star-half" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[prime--star-half]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/prime -->
<div class="i-prime:star-half"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="prime:star-half"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/prime/star-half.svg" alt="Star Half icon" width="24" height="24">Related icons in Prime Icons
Star Half icon in other icon sets
Star Half icon FAQ
Is the Star Half 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 Half icon in React?
Install @iconify/react and render <Icon icon="prime:star-half" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Star Half icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/prime/star-half.svg" alt="Star Half icon">, or paste the SVG code inline to style it with CSS.