2hearts icon
fxemoji:2hearts
The 2hearts icon (fxemoji:2hearts) is a free SVG icon from the Firefox OS Emoji set by Mozilla. It is drawn on a 72 × 72 grid. Firefox OS Emoji icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Firefox OS Emoji
- Author
- Mozilla
- License
- Apache-2.0
- Size
- 72 × 72
- Category
- People
- Tags
- 2heart
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#FF473E" d="M46.3 34.6c-5.8-5.9-15.2-5.5-20.5.7c-.7.8-2 .9-2.8.2c-5.8-5-14.6-4.4-19.6 1.4c-4.3 4.9-4.5 12.4-.5 17.6c1.2 1.6 2.7 2.8 4.4 3.7l18.9 13.1c.7.5 1.6.4 2.2-.2L45 55.3c1.4-1.1 2.7-2.5 3.6-4.2c2.9-5.3 2-12.1-2.3-16.5"/><path fill="#FF7DDA" d="M70.4 7c-3.3-5.2-10.2-6.3-15-2.7c-.7.5-1.6.4-2.1-.3c-3.5-4.5-9.9-5.4-14.5-2c-3.8 3-5.1 8.4-3 12.8c.7 1.4 1.5 2.5 2.6 3.4l11.7 12.4c.4.4 1.1.5 1.6.2l14.5-8.9c1.2-.6 2.3-1.4 3.3-2.5c3-3.5 3.3-8.6.9-12.4"/></svg>How to use the 2hearts icon
React
import { Icon } from "@iconify/react";
<Icon icon="fxemoji:2hearts" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fxemoji:2hearts" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fxemoji:2hearts" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fxemoji--2hearts]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fxemoji -->
<div class="i-fxemoji:2hearts"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fxemoji:2hearts"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fxemoji/2hearts.svg" alt="2hearts icon" width="24" height="24">2hearts icon FAQ
Is the 2hearts icon free for commercial use?
Yes. Firefox OS Emoji icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the 2hearts icon in React?
Install @iconify/react and render <Icon icon="fxemoji:2hearts" />, or use “Copy code” on this page to get a standalone React component.
How do I add the 2hearts icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fxemoji/2hearts.svg" alt="2hearts icon">, or paste the SVG code inline to style it with CSS.