ICONYZ
English
Star icon from Gravity UI Icons

Star icon

gravity-ui:star

The Star icon (gravity-ui:star) is a free SVG icon from the Gravity UI Icons set by YANDEX LLC. It is drawn on a 24 × 24 grid. Gravity UI 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
Gravity UI Icons
Author
YANDEX LLC
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="m9.194 5l.351.873l.94.064l3.197.217l-2.46 2.055l-.722.603l.23.914l.782 3.108l-2.714-1.704L8 10.629l-.798.5l-2.714 1.705l.782-3.108l.23-.914l-.723-.603l-2.46-2.055l3.198-.217l.94-.064l.35-.874L8 2.025zm-7.723-.292l3.943-.268L6.886.773C7.29-.231 8.71-.231 9.114.773l1.472 3.667l3.943.268c1.08.073 1.518 1.424.688 2.118L12.185 9.36l.964 3.832c.264 1.05-.886 1.884-1.802 1.31L8 12.4l-3.347 2.101c-.916.575-2.066-.26-1.802-1.309l.964-3.832L.783 6.826c-.83-.694-.391-2.045.688-2.118" clip-rule="evenodd"/></svg>

How to use the Star icon

React

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

<Icon icon="gravity-ui:star" width="24" />

Vue

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

<template>
  <Icon icon="gravity-ui:star" width="24" />
</template>

Svelte

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

<Icon icon="gravity-ui:star" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="gravity-ui:star"></iconify-icon>

HTML image

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

Related icons in Gravity UI Icons

Star icon in other icon sets

Star icon FAQ

Is the Star icon free for commercial use?

Yes. Gravity UI Icons are released under the MIT 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="gravity-ui: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/gravity-ui/star.svg" alt="Star icon">, or paste the SVG code inline to style it with CSS.

Browse all Gravity UI Icons →