star half icon
star-half from Prime Icons by PrimeTek · Regular · MIT Free for personal and commercial use.
- Name
- star-half
- Set
- Prime Icons
- Style
- Regular
- Viewbox
- 24×24
- License
- MIT
1 other variant in Prime Icons
The same icon in other sets
star-halfBootstrap Iconsstar-halfBoxIcons v2 Solidstar-halfCarbonstar-halfCodiconsstar-halfFont Awesome 6 Regularstar-halfFont Awesome 6 Solidstar-halfFont Awesome Regularstar-halfFont Awesome Solidstar-half-outlineFlowbite Iconsstar-half-12-filledFluent UI System Iconsstar-halfHuge Iconsstar-halfIonIconsstar-halfJam Iconsstar-halfLine Awesomestar-halfMaterial Line Iconsstar-halfLucidestar-halfMaterial Symbolsstar-halfMaterial Symbols Lightstar-halfMaterial Design Iconsstar-half-fillMingCute Iconstar-halfPhosphorstar-half-fillRemix Iconstar-halfTabler Icons
Use the star half icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>
React
import type { SVGProps } from "react";
export function PrimeStarHalf(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" fillRule="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" clipRule="evenodd"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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> </template>
CSS
.icon-star-half {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M12.17%203.27c.34.079.58.381.58.73v13.27a.75.75%200%200%201-.401.664l-5.2%202.73a.75.75%200%200%201-1.088-.79l.923-5.402l-3.918-3.825a.75.75%200%200%201%20.417-1.28l5.419-.783l2.425-4.916a.75.75%200%200%201%20.843-.398m-.92%203.945l-1.177%202.387a.75.75%200%200%201-.566.41l-4.306.623l3.113%203.038a.75.75%200%200%201%20.215.663l-.734%204.295l3.455-1.814z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M12.17%203.27c.34.079.58.381.58.73v13.27a.75.75%200%200%201-.401.664l-5.2%202.73a.75.75%200%200%201-1.088-.79l.923-5.402l-3.918-3.825a.75.75%200%200%201%20.417-1.28l5.419-.783l2.425-4.916a.75.75%200%200%201%20.843-.398m-.92%203.945l-1.177%202.387a.75.75%200%200%201-.566.41l-4.306.623l3.113%203.038a.75.75%200%200%201%20.215.663l-.734%204.295l3.455-1.814z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/prime/star-half.svg?color=%231a73e8&size=48