ICONYZ
English
Stars icon from Huge Icons

Stars icon

hugeicons:stars

The Stars icon (hugeicons:stars) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge Icons are released under the MIT 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
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Tags
star
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path stroke-linejoin="round" d="M20 4.5L19.5 2L19 4.5l.5 2.5z"/><path stroke-linejoin="round" d="M22 4.5L19.5 4l-2.5.5l2.5.5z"/><path stroke-linecap="round" d="M3.25 20.083v1.334m1-.667a1 1 0 1 1-2 0a1 1 0 0 1 2 0Z"/><path d="m12.84 7.64l-.615-2.666a1.257 1.257 0 0 0-2.45 0L9.16 7.64c-.23.999-.346 1.498-.592 1.908a3 3 0 0 1-1.02 1.02c-.41.246-.909.362-1.908.592l-2.666.615a1.257 1.257 0 0 0 0 2.45l2.666.615c.999.23 1.498.346 1.908.592a3 3 0 0 1 1.02 1.02c.246.41.361.909.592 1.908l.615 2.666a1.257 1.257 0 0 0 2.45 0l.615-2.666c.23-.999.346-1.498.592-1.908a3 3 0 0 1 1.02-1.02c.41-.246.909-.362 1.908-.592l2.666-.615a1.257 1.257 0 0 0 0-2.45l-2.666-.615c-.999-.23-1.498-.346-1.908-.592a3 3 0 0 1-1.02-1.02c-.246-.41-.362-.909-.592-1.908Z"/></g></svg>

How to use the Stars icon

React

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

<Icon icon="hugeicons:stars" width="24" />

Vue

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

<template>
  <Icon icon="hugeicons:stars" width="24" />
</template>

Svelte

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

<Icon icon="hugeicons:stars" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="hugeicons:stars"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/stars.svg" alt="Stars icon" width="24" height="24">

Stars icon in other icon sets

Stars icon FAQ

Is the Stars icon free for commercial use?

Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Stars icon in React?

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

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

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

Browse all Huge Icons →