Box2 Heart icon
bi:box2-heart
The Box2 Heart icon (bi:box2-heart) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap Icons are released under the MIT 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
- Bootstrap Icons
- Author
- The Bootstrap Authors
- License
- MIT
- Size
- 24 × 24
- Tags
- box2heart
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M8 7.982C9.664 6.309 13.825 9.236 8 13C2.175 9.236 6.336 6.31 8 7.982"/><path d="M3.75 0a1 1 0 0 0-.8.4L.1 4.2a.5.5 0 0 0-.1.3V15a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V4.5a.5.5 0 0 0-.1-.3L13.05.4a1 1 0 0 0-.8-.4zm0 1H7.5v3h-6zM8.5 4V1h3.75l2.25 3zM15 5v10H1V5z"/></g></svg>How to use the Box2 Heart icon
React
import { Icon } from "@iconify/react";
<Icon icon="bi:box2-heart" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bi:box2-heart" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bi:box2-heart" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--box2-heart]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:box2-heart"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bi:box2-heart"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bi/box2-heart.svg" alt="Box2 Heart icon" width="24" height="24">Related icons in Bootstrap Icons
Box2 Heart icon FAQ
Is the Box2 Heart icon free for commercial use?
Yes. Bootstrap Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Box2 Heart icon in React?
Install @iconify/react and render <Icon icon="bi:box2-heart" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Box2 Heart icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bi/box2-heart.svg" alt="Box2 Heart icon">, or paste the SVG code inline to style it with CSS.