ICONYZ
English
Star icon from Radix Icons

Star icon

radix-icons:star

The Star icon (radix-icons:star) is a free SVG icon from the Radix Icons set by WorkOS. It is drawn on a 15 × 15 grid. Radix 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
Radix Icons
Author
WorkOS
License
MIT
Size
15 × 15
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M7.223.666a.3.3 0 0 1 .554 0L9.413 4.6a.3.3 0 0 0 .253.184l4.248.34a.3.3 0 0 1 .171.527l-.23.195l-3.006 2.578a.3.3 0 0 0-.097.296l.919 3.852l.07.294a.3.3 0 0 1-.361.362l-.087-.037l-.258-.158l-3.379-2.062a.3.3 0 0 0-.312 0l-3.637 2.22l-.087.037a.3.3 0 0 1-.361-.362l.07-.294l.92-3.852a.3.3 0 0 0-.043-.235l-.055-.061L.915 5.65a.3.3 0 0 1 .171-.526l.3-.025l3.948-.316a.3.3 0 0 0 .211-.112l.042-.072zM6.51 4.984a1.3 1.3 0 0 1-.917.77l-.18.027l-2.57.205l1.959 1.678l.129.127c.237.269.353.626.319.983l-.03.179l-.598 2.507l2.2-1.343l.161-.083a1.3 1.3 0 0 1 1.034 0l.16.083l2.2 1.343l-.598-2.507a1.3 1.3 0 0 1 .42-1.29l1.957-1.677l-2.569-.205a1.3 1.3 0 0 1-1.016-.635l-.08-.162l-.99-2.38z"/></svg>

How to use the Star icon

React

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

<Icon icon="radix-icons:star" width="24" />

Vue

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

<template>
  <Icon icon="radix-icons:star" width="24" />
</template>

Svelte

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

<Icon icon="radix-icons:star" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="radix-icons:star"></iconify-icon>

HTML image

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

Related icons in Radix Icons

Star icon in other icon sets

Star icon FAQ

Is the Star icon free for commercial use?

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

Browse all Radix Icons →