ICONYZ
English
Two Hearts icon from OpenMoji

Two Hearts icon

openmoji:two-hearts

The Two Hearts icon (openmoji:two-hearts) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Smileys Emotion
Tags
twohearts, heart
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#ffa7c0" d="M43 36.165a8.51 8.51 0 0 0-16-4.045a8.51 8.51 0 0 0-16 4.044a8.47 8.47 0 0 0 1.886 5.337l-.003.003L27 59l14.117-17.496l-.003-.002A8.47 8.47 0 0 0 43 36.164m18-18.643a4.521 4.521 0 0 0-8.5-2.148a4.521 4.521 0 1 0-7.498 4.984h-.001l7.499 9.296l7.5-9.295l-.002-.001A4.5 4.5 0 0 0 61 17.52"/><path fill="none" stroke="#000" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M43 36.165a8.51 8.51 0 0 0-16-4.045a8.51 8.51 0 0 0-16 4.044a8.47 8.47 0 0 0 1.886 5.337l-.003.003L27 59l14.117-17.496l-.003-.002A8.47 8.47 0 0 0 43 36.164zm18-18.644a4.521 4.521 0 0 0-8.5-2.148a4.521 4.521 0 1 0-7.498 4.984h-.001l7.499 9.296l7.5-9.295l-.002-.001A4.5 4.5 0 0 0 61 17.52z"/></svg>

How to use the Two Hearts icon

React

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

<Icon icon="openmoji:two-hearts" width="24" />

Vue

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

<template>
  <Icon icon="openmoji:two-hearts" width="24" />
</template>

Svelte

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

<Icon icon="openmoji:two-hearts" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--two-hearts]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:two-hearts"></div>

Web component

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

<iconify-icon icon="openmoji:two-hearts"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/two-hearts.svg" alt="Two Hearts icon" width="24" height="24">

Related icons in OpenMoji

Two Hearts icon in other icon sets

Two Hearts icon FAQ

Is the Two Hearts icon free for commercial use?

Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Two Hearts icon in React?

Install @iconify/react and render <Icon icon="openmoji:two-hearts" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Two Hearts icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/openmoji/two-hearts.svg" alt="Two Hearts icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →