ICONYZ
Português (Brasil)
Ícone Heart de Bootstrap Icons

Ícone Heart

bi:heart

O ícone Heart (bi:heart) é 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
Baixar SVG

Código SVG

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m8 2.748l-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385c.92 1.815 2.834 3.989 6.286 6.357c3.452-2.368 5.365-4.542 6.286-6.357c.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143q.09.083.176.171a3 3 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15"/></svg>

Como usar o ícone Heart

React

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

<Icon icon="bi:heart" width="24" />

Vue

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

<template>
  <Icon icon="bi:heart" width="24" />
</template>

Svelte

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

<Icon icon="bi:heart" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="bi:heart"></iconify-icon>

Imagem HTML

<img src="https://iconyz.com/api/public/svg/bi/heart.svg" alt="Ícone Heart" width="24" height="24">

Ícones relacionados em Bootstrap Icons

O ícone Heart em outras coleções

Perguntas frequentes sobre Ícone Heart

O ícone Heart é 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 Heart no React?

Instale @iconify/react e renderize <Icon icon="bi:heart" />, ou use “Copiar código” nesta página para obter um componente React independente.

Como adiciono o ícone Heart a uma página web?

Vincule o arquivo SVG em uma tag de imagem: <img src="https://iconyz.com/api/public/svg/bi/heart.svg" alt="Ícone Heart">, ou cole o código SVG diretamente na página para estilizá-lo com CSS.

Ver todos os Bootstrap Icons →