Haven icon
selfhst:haven
The Haven icon (selfhst:haven) is a free SVG icon from the selfh.st/icons set by selfh.st. It is drawn on a 512 × 512 grid. selfh.st/icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- selfh.st/icons
- Author
- selfh.st
- License
- CC-BY-4.0
- Size
- 512 × 512
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="#1a1a2e" d="M102.4 0h307.2C466.2 0 512 45.8 512 102.4v307.2c0 56.6-45.8 102.4-102.4 102.4H102.4C45.8 512 0 466.2 0 409.6V102.4C0 45.8 45.8 0 102.4 0"/><linearGradient id="SVGWJdmXbuX" x1="-1402.077" x2="-1401.077" y1="1.455" y2="2.455" gradientTransform="matrix(358.4 0 0 389.12 502581.188 -504.574)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#9478ff"/><stop offset="1" stop-color="#6b4fdb"/></linearGradient><path fill="url(#SVGWJdmXbuX)" d="m256 61.4l179.2 102.4v184.4L256 450.6L76.8 348.2V163.8z"/><path fill="#9981f5" d="m256 404l-137.1-79.1V187.1L256 108l137.1 79.1v137.7zm-129.1-83.8L256 394.7l129.1-74.5V191.8L256 117.3l-129.1 74.5z"/><path fill="#fff" d="M205.9 317.4V192.8h25.2v49h49.3v-49h25.2v124.6h-25.2V263h-49.3v54.5h-25.2z" opacity=".95"/></svg>How to use the Haven icon
React
import { Icon } from "@iconify/react";
<Icon icon="selfhst:haven" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="selfhst:haven" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="selfhst:haven" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[selfhst--haven]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/selfhst -->
<div class="i-selfhst:haven"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="selfhst:haven"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/selfhst/haven.svg" alt="Haven icon" width="24" height="24">Related icons in selfh.st/icons
Haven icon in other icon sets
Haven icon FAQ
Is the Haven icon free for commercial use?
Yes. selfh.st/icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Haven icon in React?
Install @iconify/react and render <Icon icon="selfhst:haven" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Haven icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/selfhst/haven.svg" alt="Haven icon">, or paste the SVG code inline to style it with CSS.