Ícone Star
glyphs:star
O ícone Star (glyphs:star) é um ícone SVG gratuito da coleção Glyphs de Goran Spasojevic. Ele é desenhado em uma grade de 80 × 80. Glyphs icons são publicados sob a licença MIT, que permite o uso em projetos pessoais e comerciais. Copie como código SVG, JSX, Vue ou Svelte, ou baixe o arquivo SVG.
- Coleção
- Glyphs
- Autor
- Goran Spasojevic
- Licença
- MIT
- Tamanho
- 80 × 80
Código SVG
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M38.144 12.622c.672-1.673 3.04-1.673 3.712 0l5.952 14.822a2 2 0 0 0 1.72 1.25l15.937 1.08c1.798.123 2.53 2.375 1.147 3.53L54.354 43.547a2 2 0 0 0-.657 2.023l3.897 15.49c.44 1.748-1.476 3.14-3.003 2.182l-13.528-8.493a2 2 0 0 0-2.126 0L25.409 63.24c-1.527.958-3.443-.434-3.003-2.182l3.897-15.49a2 2 0 0 0-.658-2.023l-12.257-10.24c-1.383-1.156-.652-3.408 1.147-3.53l15.936-1.08a2 2 0 0 0 1.72-1.25z"/></svg>Como usar o ícone Star
React
import { Icon } from "@iconify/react";
<Icon icon="glyphs:star" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="glyphs:star" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="glyphs:star" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[glyphs--star]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/glyphs -->
<div class="i-glyphs:star"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="glyphs:star"></iconify-icon>Imagem HTML
<img src="https://iconyz.com/api/public/svg/glyphs/star.svg" alt="Ícone Star" width="24" height="24">Ícones relacionados em Glyphs
star-and-crescent
star-and-crescent-bold
star-and-crescent-duo
star-and-crescent-outline
star-bold
star-duo
star-half
star-half-1
star-half-1-bold
star-half-1-duo
star-half-1-outline
star-half-2
star-half-2-bold
star-half-2-duo
star-half-2-outline
star-half-bold
star-half-duo
star-half-outline
star-of-david
star-of-david-bold
star-of-david-duo
star-of-david-outline
star-outline
O ícone Star em outras coleções
Perguntas frequentes sobre Ícone Star
O ícone Star é grátis para uso comercial?
Sim. Glyphs icons são publicados sob a licença MIT, que permite o uso em projetos pessoais e comerciais.
Como uso o ícone Star no React?
Instale @iconify/react e renderize <Icon icon="glyphs:star" />, ou use “Copiar código” nesta página para obter um componente React independente.
Como adiciono o ícone Star a uma página web?
Vincule o arquivo SVG em uma tag de imagem: <img src="https://iconyz.com/api/public/svg/glyphs/star.svg" alt="Ícone Star">, ou cole o código SVG diretamente na página para estilizá-lo com CSS.