Star icon
ooui:star
The Star icon (ooui:star) is a free SVG icon from the OOUI set by OOUI Team. It is drawn on a 20 × 20 grid. OOUI 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M12.9 7H19v1.588l-4.593 3.589L16.5 19h-2L10 15.5L5.5 19h-2l2.092-6.823L1 8.587V7h6.1l1.945-5.995h1.91zM8.6 9H4.5l3.415 2.435l-1.289 4.17L10 13l3.373 2.605l-1.288-4.17L15.5 9h-4.05L10 4.687z"/></svg>How to use the Star icon
React
import { Icon } from "@iconify/react";
<Icon icon="ooui:star" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ooui:star" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ooui:star" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ooui--star]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ooui -->
<div class="i-ooui:star"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ooui:star"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ooui/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. OOUI 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="ooui: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/ooui/star.svg" alt="Star icon">, or paste the SVG code inline to style it with CSS.