Half Star SVG element, flat

Free

An outlined star with its left half filled represents a partial rating. Use it beside a product review score or in a restaurant comparison table.

Sign in to download. Free SVGs are free with any account.

How to use it

HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/x02qca9iBtAa/amnt.svg" alt="Half Star" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 48" preserveAspectRatio="none" fill="currentColor" aria-hidden="true"><defs><path id="star" d="M120 2 145 16 222 17 164 29 183 46 120 36 57 46 76 29 18 17 95 16Z"/><clipPath id="left-half"><rect x="0" y="0" width="120" height="48"/></clipPath></defs><use href="#star" clip-path="url(#left-half)"/><use href="#star" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linejoin="round"/></svg>
CSS background-image
.half-star {
  background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/x02qca9iBtAa/amnt.svg");
  background-size: contain;
}
CSS mask-image (takes the text colour)
.half-star {
  width: 1.5em; height: 1.5em;
  background-color: currentColor;
  mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/x02qca9iBtAa/amnt.svg") center / contain no-repeat;
}
React
import HalfStarSvg from "./half-star.jsx"; // from the React tab above

<HalfStarSvg width={48} height={48} />

Made with AMNT

AMNT SVG 1.1 drew this from the words Half Star: One large outlined star with its left half filled. as part of the pack Star ratings, flat. Want one like it? Make your own in the SVG studio.

Rest of Star ratings, flat

Similar SVGs

Licence: free. A Free account may use it for personal work; Pro and Max download it with a commercial licence, fixed at download, forever. No credit needed. Read the licence