ICONYZ
English
Onstar icon from theSVG

Onstar icon

thesvg:onstar

The Onstar icon (thesvg:onstar) is a free SVG icon from the theSVG set by thesvg.org. It is drawn on a 24 × 24 grid. theSVG 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
theSVG
Author
thesvg.org
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" d="M12 0C5.372 0 0 5.372 0 12s5.372 12 12 12s12-5.372 12-12S18.628 0 12 0m-.049.763c6.233 0 11.304 5.066 11.304 11.294s-5.07 11.295-11.304 11.295C5.718 23.352.647 18.286.647 12.057C.647 5.83 5.718.763 11.951.763m0 .287C5.877 1.05.936 5.988.936 12.057c0 6.07 4.941 11.008 11.015 11.008s11.016-4.938 11.016-11.008S18.025 1.05 11.951 1.05m4.73 3.25l.582 1.7l1.8.064l-1.44 1.078l.495 1.729l-1.472-1.034l-1.494 1.004l.53-1.717l-1.418-1.108l1.8-.028zM7.99 7.11c2.892 0 4.967 2.155 4.967 4.82v.027c0 2.664-2.102 4.847-4.994 4.847s-4.967-2.156-4.967-4.82v-.027c0-2.665 2.102-4.848 4.994-4.848zm-.027 1.9c-1.66 0-2.812 1.313-2.812 2.92v.027c0 1.606 1.179 2.945 2.839 2.945s2.812-1.312 2.812-2.918v-.027c0-1.607-1.178-2.946-2.839-2.946zm9.976.322c1.54 0 2.437 1.018 2.437 2.665v4.646h-2.035V12.64c0-.964-.455-1.46-1.232-1.46s-1.272.496-1.272 1.46v4.003h-2.035V9.466h2.035v1.018c.469-.603 1.071-1.152 2.102-1.152"/></svg>

How to use the Onstar icon

React

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

<Icon icon="thesvg:onstar" width="24" />

Vue

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

<template>
  <Icon icon="thesvg:onstar" width="24" />
</template>

Svelte

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

<Icon icon="thesvg:onstar" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="thesvg:onstar"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/thesvg/onstar.svg" alt="Onstar icon" width="24" height="24">

Onstar icon in other icon sets

Onstar icon FAQ

Is the Onstar icon free for commercial use?

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

How do I use the Onstar icon in React?

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

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

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

Browse all theSVG icons →