Home Modern icon
heroicons:home-modern
The Home Modern icon (heroicons:home-modern) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons 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
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 24 × 24
- Tags
- homemodern
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M8.25 21v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21m0 0h4.5V3.545M12.75 21h7.5V10.75M2.25 21h1.5m18 0h-18M2.25 9l4.5-1.636M18.75 3l-1.5.545m0 6.205l3 1m1.5.5l-1.5-.5M6.75 7.364V3h-3v18m3-13.636l10.5-3.819"/></svg>How to use the Home Modern icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:home-modern" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:home-modern" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:home-modern" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--home-modern]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:home-modern"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:home-modern"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/home-modern.svg" alt="Home Modern icon" width="24" height="24">Related icons in HeroIcons
Home Modern icon in other icon sets
Home Modern icon FAQ
Is the Home Modern icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Home Modern icon in React?
Install @iconify/react and render <Icon icon="heroicons:home-modern" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Home Modern icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/home-modern.svg" alt="Home Modern icon">, or paste the SVG code inline to style it with CSS.