Ícone Heart
ph:heart
O ícone Heart (ph:heart) é um ícone SVG gratuito da coleção Phosphor de Phosphor Icons. Ele é desenhado em uma grade de 256 × 256. Phosphor 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
- Phosphor
- Autor
- Phosphor Icons
- Licença
- MIT
- Tamanho
- 256 × 256
- Tags
- wellness, love, healthy, like, favorites, favorited, suits, cards, gambling, casino, gaming, emoji
Código SVG
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M178 40c-20.65 0-38.73 8.88-50 23.89C116.73 48.88 98.65 40 78 40a62.07 62.07 0 0 0-62 62c0 70 103.79 126.66 108.21 129a8 8 0 0 0 7.58 0C136.21 228.66 240 172 240 102a62.07 62.07 0 0 0-62-62m-50 174.8c-18.26-10.64-96-59.11-96-112.8a46.06 46.06 0 0 1 46-46c19.45 0 35.78 10.36 42.6 27a8 8 0 0 0 14.8 0c6.82-16.67 23.15-27 42.6-27a46.06 46.06 0 0 1 46 46c0 53.61-77.76 102.15-96 112.8"/></svg>Como usar o ícone Heart
React
import { Icon } from "@iconify/react";
<Icon icon="ph:heart" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:heart" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:heart" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--heart]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:heart"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:heart"></iconify-icon>Imagem HTML
<img src="https://iconyz.com/api/public/svg/ph/heart.svg" alt="Ícone Heart" width="24" height="24">Ícones relacionados em Phosphor
heart-bold
heart-break
heart-break-bold
heart-break-duotone
heart-break-fill
heart-break-light
heart-break-thin
heart-duotone
heart-fill
heart-half
heart-half-bold
heart-half-duotone
heart-half-fill
heart-half-light
heart-half-thin
heart-light
heart-straight
heart-straight-bold
heart-straight-break
heart-straight-break-bold
heart-straight-break-duotone
heart-straight-break-fill
heart-straight-break-light
heart-straight-break-thin
O ícone Heart em outras coleções
Perguntas frequentes sobre Ícone Heart
O ícone Heart é grátis para uso comercial?
Sim. Phosphor 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="ph: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/ph/heart.svg" alt="Ícone Heart">, ou cole o código SVG diretamente na página para estilizá-lo com CSS.