The Heroicons eye icon visually represents the act of seeing or observing, commonly used in UIs to indicate actions like viewing details, toggling visibility, or previewing content.
Common uses
- View item details
- Toggle password visibility
- Preview content
Use it in React
Install
npm i @heroicons/reactImport & render
import { EyeIcon } from '@heroicons/react/24/outline';
<EyeIcon className="size-6" />Styles
Heroicons ships this icon in 4 styles — each its own import:
24/outline
<EyeIcon className="size-6" />24/solid
<EyeIcon className="size-6" />20/solid
<EyeIcon className="size-6" />16/solid
<EyeIcon className="size-6" />Details
- Library
- Heroicons (324 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- eyeviewvisibilityseepreview
FAQ
- What is the Heroicons eye icon used for?
- It's used to signify actions related to viewing, such as showing details, previewing content, or toggling the visibility of information like passwords.
- How do I use the eye icon in React?
- You can import and use it like this: import { EyeIcon } from '@heroicons/react/24/outline'.
- What is the license for Heroicons?
- Heroicons are distributed under the MIT license, allowing for free use in both personal 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 →