Ícone Star Half
bi:star-half
O ícone Star Half (bi:star-half) é um ícone SVG gratuito da coleção Bootstrap Icons de The Bootstrap Authors. Ele é desenhado em uma grade de 24 × 24. Bootstrap 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
- Bootstrap Icons
- Autor
- The Bootstrap Authors
- Licença
- MIT
- Tamanho
- 24 × 24
- Tags
- starhalf
Código SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5.354 5.119L7.538.792A.52.52 0 0 1 8 .5c.183 0 .366.097.465.292l2.184 4.327l4.898.696A.54.54 0 0 1 16 6.32a.55.55 0 0 1-.17.445l-3.523 3.356l.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256a.5.5 0 0 1-.146.05c-.342.06-.668-.254-.6-.642l.83-4.73L.173 6.765a.55.55 0 0 1-.172-.403a.6.6 0 0 1 .085-.302a.51.51 0 0 1 .37-.245zM8 12.027a.5.5 0 0 1 .232.056l3.686 1.894l-.694-3.957a.56.56 0 0 1 .162-.505l2.907-2.77l-4.052-.576a.53.53 0 0 1-.393-.288L8.001 2.223L8 2.226z"/></svg>Como usar o ícone Star Half
React
import { Icon } from "@iconify/react";
<Icon icon="bi:star-half" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bi:star-half" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bi:star-half" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--star-half]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:star-half"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bi:star-half"></iconify-icon>Imagem HTML
<img src="https://iconyz.com/api/public/svg/bi/star-half.svg" alt="Ícone Star Half" width="24" height="24">Ícones relacionados em Bootstrap Icons
O ícone Star Half em outras coleções
Perguntas frequentes sobre Ícone Star Half
O ícone Star Half é grátis para uso comercial?
Sim. Bootstrap Icons são publicados sob a licença MIT, que permite o uso em projetos pessoais e comerciais.
Como uso o ícone Star Half no React?
Instale @iconify/react e renderize <Icon icon="bi:star-half" />, ou use “Copiar código” nesta página para obter um componente React independente.
Como adiciono o ícone Star Half a uma página web?
Vincule o arquivo SVG em uma tag de imagem: <img src="https://iconyz.com/api/public/svg/bi/star-half.svg" alt="Ícone Star Half">, ou cole o código SVG diretamente na página para estilizá-lo com CSS.