ICONYZ
English
Home icon from Prime Icons

Home icon

prime:home

The Home icon (prime:home) is a free SVG icon from the Prime Icons set by PrimeTek. It is drawn on a 24 × 24 grid. Prime 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
Prime Icons
Author
PrimeTek
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20 11.75a.74.74 0 0 1-.45-.15L12 5.94L4.45 11.6a.75.75 0 0 1-.9-1.2l8-6a.75.75 0 0 1 .9 0l8 6a.75.75 0 0 1 .15 1a.74.74 0 0 1-.6.35"/><path fill="currentColor" d="M18 19.75H6a.76.76 0 0 1-.75-.75V9.5a.75.75 0 0 1 1.5 0v8.75h10.5V9.5a.75.75 0 0 1 1.5 0V19a.76.76 0 0 1-.75.75"/><path fill="currentColor" d="M14 19.75a.76.76 0 0 1-.75-.75v-6.25h-2.5V19a.75.75 0 0 1-1.5 0v-7a.76.76 0 0 1 .75-.75h4a.76.76 0 0 1 .75.75v7a.76.76 0 0 1-.75.75"/></svg>

How to use the Home icon

React

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

<Icon icon="prime:home" width="24" />

Vue

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

<template>
  <Icon icon="prime:home" width="24" />
</template>

Svelte

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

<Icon icon="prime:home" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[prime--home]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/prime -->
<div class="i-prime:home"></div>

Web component

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

<iconify-icon icon="prime:home"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/prime/home.svg" alt="Home icon" width="24" height="24">

Home icon in other icon sets

Home icon FAQ

Is the Home icon free for commercial use?

Yes. Prime Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Home icon in React?

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

How do I add the Home icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/prime/home.svg" alt="Home icon">, or paste the SVG code inline to style it with CSS.

Browse all Prime Icons →