ICONYZ
English
Star icon from Unicons Thin Line

Star icon

uit:star

The Star icon (uit:star) is a free SVG icon from the Unicons Thin Line set by Iconscout. It is drawn on a 24 × 24 grid. Unicons Thin Line icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Unicons Thin Line
Author
Iconscout
License
Apache-2.0
Size
24 × 24
Category
Shape
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="M21.995 9.933a.5.5 0 0 0-.423-.568l-6.304-.919l-2.82-5.73a.52.52 0 0 0-.896 0l-2.82 5.73l-6.304.92a.5.5 0 0 0-.278.852l4.563 4.46l-1.077 6.3a.5.5 0 0 0 .726.527L12 18.532l5.638 2.973a.5.5 0 0 0 .316.05a.5.5 0 0 0 .41-.576l-1.077-6.3l4.563-4.461a.5.5 0 0 0 .145-.285M16.4 14.147a.5.5 0 0 0-.143.442l.95 5.558l-4.974-2.623a.5.5 0 0 0-.466 0l-4.974 2.623l.95-5.558a.5.5 0 0 0-.143-.442L3.572 10.21l5.565-.81a.5.5 0 0 0 .376-.275L12 4.07l2.487 5.054a.5.5 0 0 0 .376.274l5.565.811z"/></svg>

How to use the Star icon

React

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

<Icon icon="uit:star" width="24" />

Vue

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

<template>
  <Icon icon="uit:star" width="24" />
</template>

Svelte

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

<Icon icon="uit:star" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="uit:star"></iconify-icon>

HTML image

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

Related icons in Unicons Thin Line

Star icon in other icon sets

Star icon FAQ

Is the Star icon free for commercial use?

Yes. Unicons Thin Line icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Star icon in React?

Install @iconify/react and render <Icon icon="uit:star" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Star icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/uit/star.svg" alt="Star icon">, or paste the SVG code inline to style it with CSS.

Browse all Unicons Thin Line icons →