softicons.dev

moon star icon

Free moon star SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons weather 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">
  <path d="M18 3v4"/>
  <path d="M16 5h4"/>
  <path d="M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8Z"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/weather/moon-star.svg"
     width="24" height="24" alt="moon star icon">

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

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

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

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