Star 2 Linear icon
solar:star-2-linear
The Star 2 Linear icon (solar:star-2-linear) is a free SVG icon from the Solar set by 480 Design. It is drawn on a 24 × 24 grid. Solar icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Solar
- Author
- 480 Design
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- Astronomy
- Tags
- starlinear
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M12 20V17.6M12 6.4V4M20 12H17.6M6.4 12H4M17.6569 6.34315L15.9598 8.0402M8.0402 15.9598L6.34315 17.6569M6.34293 6.34332L8.03999 8.04038M15.9596 15.96L17.6566 17.657"/></svg>How to use the Star 2 Linear icon
React
import { Icon } from "@iconify/react";
<Icon icon="solar:star-2-linear" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="solar:star-2-linear" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="solar:star-2-linear" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[solar--star-2-linear]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/solar -->
<div class="i-solar:star-2-linear"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="solar:star-2-linear"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/solar/star-2-linear.svg" alt="Star 2 Linear icon" width="24" height="24">Related icons in Solar
Star 2 Linear icon FAQ
Is the Star 2 Linear icon free for commercial use?
Yes. Solar icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Star 2 Linear icon in React?
Install @iconify/react and render <Icon icon="solar:star-2-linear" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Star 2 Linear icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/solar/star-2-linear.svg" alt="Star 2 Linear icon">, or paste the SVG code inline to style it with CSS.