ICONYZ
English
Star Half icon from Codicons

Star Half icon

codicon:star-half

The Star Half icon (codicon:star-half) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Codicons
Author
Microsoft Corporation
License
CC-BY-4.0
Size
24 × 24
Tags
starhalf
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M15.264 6.275a.94.94 0 0 0-.77-.648l-3.896-.566L8.856 1.53c-.33-.665-1.381-.666-1.711 0L5.403 5.06l-3.897.566a.94.94 0 0 0-.771.654a.94.94 0 0 0 .244.973l2.818 2.748l-.666 3.88a.94.94 0 0 0 .208.773a.965.965 0 0 0 1.177.232L8 13.054l3.483 1.832q.212.112.444.112c.28 0 .548-.125.732-.344a.93.93 0 0 0 .209-.774L12.202 10l2.819-2.748a.94.94 0 0 0 .241-.979zM11.317 9.47a.5.5 0 0 0-.145.442l.719 4.06l-3.659-1.924A.5.5 0 0 0 8 11.99V2.057l1.817 3.682c.072.147.214.25.376.273l4.131.526z"/></svg>

How to use the Star Half icon

React

import { Icon } from "@iconify/react";

<Icon icon="codicon:star-half" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="codicon:star-half" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="codicon:star-half" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--star-half]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:star-half"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="codicon:star-half"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codicon/star-half.svg" alt="Star Half icon" width="24" height="24">

Related icons in Codicons

Star Half icon in other icon sets

Star Half icon FAQ

Is the Star Half icon free for commercial use?

Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Star Half icon in React?

Install @iconify/react and render <Icon icon="codicon: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/codicon/star-half.svg" alt="Star Half icon">, or paste the SVG code inline to style it with CSS.

Browse all Codicons →