ICONYZ
English
Star icon from Evil Icons

Star icon

ei:star

The Star icon (ei:star) is a free SVG icon from the Evil Icons set by Alexander Madyankin and Roman Shamin. It is drawn on a 50 × 50 grid. Evil 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
Evil Icons
Author
Alexander Madyankin and Roman Shamin
License
MIT
Size
50 × 50
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><path fill="currentColor" d="M15.2 40.6c-.2 0-.4-.1-.6-.2c-.4-.3-.5-.7-.4-1.1l3.9-12l-10.2-7.5c-.4-.3-.5-.7-.4-1.1s.5-.7 1-.7h12.7L25 5.9c.1-.4.5-.7 1-.7s.8.3 1 .7L30.9 18h12.7c.4 0 .8.2 1 .6s0 .9-.4 1.1L34 27.1l3.9 12c.1.4 0 .9-.4 1.1s-.8.3-1.2 0L26 33l-10.2 7.4c-.2.1-.4.2-.6.2M26 30.7c.2 0 .4.1.6.2l8.3 6.1l-3.2-9.8c-.1-.4 0-.9.4-1.1l8.3-6.1H30.1c-.4 0-.8-.3-1-.7L26 9.5l-3.2 9.8c-.1.4-.5.7-1 .7H11.5l8.3 6.1c.4.3.5.7.4 1.1L17.1 37l8.3-6.1c.2-.1.4-.2.6-.2"/></svg>

How to use the Star icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Star icon in other icon sets

Star icon FAQ

Is the Star icon free for commercial use?

Yes. Evil 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="ei: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/ei/star.svg" alt="Star icon">, or paste the SVG code inline to style it with CSS.

Browse all Evil Icons →