softicons.dev

star half icon

Free star half SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons interface set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <polygon points="12 2.5 15 8.6 21.7 9.6 16.8 14.3 18 21 12 17.8 6 21 7.2 14.3 2.3 9.6 9 8.6 12 2.5"/>
  <line x1="12" y1="2.5" x2="12" y2="17.8"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/interface/star-half.svg"
     width="24" height="24" alt="star half icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { StarHalfIcon } from "@softicons/react";

export default function Example() {
  return <StarHalfIcon size={24} strokeWidth={2} />;
}
<script setup>
import { StarHalfIcon } from "@softicons/vue";
</script>

<template>
  <StarHalfIcon :size="24" :stroke-width="2" />
</template>
import { StarHalfIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [StarHalfIconComponent],
  template: `<star-half-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}