The Heroicons home icon depicts a stylized house and is commonly used to represent the main page or starting point of a website or application.
Common uses
- Navigation to homepage
- Dashboard entry point
- Site root link
Use it in React
Install
npm i @heroicons/reactImport & render
import { HomeIcon } from '@heroicons/react/24/outline';
<HomeIcon className="size-6" />Styles
Heroicons ships this icon in 4 styles — each its own import:
24/outline
<HomeIcon className="size-6" />24/solid
<HomeIcon className="size-6" />20/solid
<HomeIcon className="size-6" />16/solid
<HomeIcon className="size-6" />Details
- Library
- Heroicons (324 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- homehousemain pagestartroot
FAQ
- What is the home icon used for?
- It signifies the primary or starting page of a digital product, allowing users to easily return to the main interface.
- How do I use the home icon in React?
- Import it from Heroicons and use it as a component: import { HomeIcon } from '@heroicons/react/24/outline'; <HomeIcon className="h-6 w-6" />
- What is the license for Heroicons?
- Heroicons are released under the MIT license, allowing for free use in both open-source and commercial projects.
Related icons
The same idea in other libraries, and near matches in Heroicons.
Looking for something else? Search Heroicons and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →