Eye
The eye icon represents visibility controls and preview functionality in content management and privacy settings.
Exports at 24 × 24 px
Code
Eye in your framework
In any framework. Customize it above, and the code follows.
export const EyeIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 100 100" {...props}>
<path fill="#2980BA" d="M51 22.001c16.016 0 28.999 12.983 28.999 28.999S67.016 79.999 51 79.999S22.001 67.016 22.001 51S34.984 22.001 51 22.001"/><path fill="#EDF0F1" d="M50 0c27.613 0 50 22.386 50 50s-22.387 50-50 50C22.386 100 0 77.614 0 50S22.386 0 50 0"/><path fill="#3B97D3" d="M51 22.001c16.016 0 28.999 12.983 28.999 28.999S67.016 79.999 51 79.999S22.001 67.016 22.001 51S34.984 22.001 51 22.001"/><path fill="#2980BA" d="M53 77.999c-16.016 0-28.999-12.983-28.999-28.999a28.9 28.9 0 0 1 7.519-19.48c-5.847 5.305-9.519 12.964-9.519 21.48c0 16.016 12.983 28.999 28.999 28.999c8.518 0 16.176-3.672 21.48-9.519A28.9 28.9 0 0 1 53 77.999"/><path fill="#35495E" d="M51 38.005c7.177 0 12.995 5.818 12.995 12.995S58.177 63.995 51 63.995S38.005 58.177 38.005 51S43.823 38.005 51 38.005"/><path fill="#fff" d="M60.003 35.009c3.862 0 6.992 3.133 6.992 6.998s-3.13 6.998-6.992 6.998c-3.86 0-6.992-3.133-6.992-6.998s3.132-6.998 6.992-6.998"/><path fill="#BDC2C7" d="M50 4c26.943 0 48.898 21.314 49.949 48c.025-.665.051-1.329.051-2c0-27.614-22.386-50-50-50S0 22.386 0 50c0 .671.024 1.335.051 2C1.102 25.314 23.057 4 50 4"/>
</svg>
);Other libraries
Eye in 8 more libraries
Each library draws it its own way. Open one to compare.
Flat UI Icons
More like it
Icons that share its tags, then the ones next to it in Flat UI Icons, in the same style.
Search Flat UI Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Flat UI Icons icon from a prompt.
Get ProTags
Browse by tag
Eye is tagged view, visibility, toggle and 4 more. Related tags follow; each opens its icons from every library.
Pricing
Flat UI Icons MCP, with Pro
Ask for Eye or any of 100 Flat UI Icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Eye icon means and where it's used, then how to install, style, label and license it.
The eye icon represents visibility controls and preview functionality in content management and privacy settings. Featuring a detailed eye with visible iris, this symbol has become the universal indicator for view toggles, visibility states, and preview options across password fields and content display controls.
In modern applications like password managers or content platforms like Medium, you'll see this icon when toggling password visibility, previewing hidden content, and controlling display states. It appears in privacy settings when managing visibility options, or in analytics dashboards when viewing detailed metrics and accessing preview modes for published content.
From a user control perspective, the eye icon communicates more than just 'can see' - it specifically indicates visibility state management, view permissions, and the toggle between shown and hidden content states. This distinction helps users understand they're controlling what's visible rather than simply viewing content.
Eye is one of 100 icons in Flat UI Icons, made by Designmodo, Inc. and released under MIT. It is drawn on a 100 × 100 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds EyeIcon to components/icons/flat-ui-eye.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed EyeIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Eye icon, or any of 100 Flat UI Icons icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 100 × 100 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Eye", so screen readers say what it does.
Yes. EyeIcon passes every SVG prop to the svg element, so <EyeIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Flat UI Icons, Designmodo, Inc. and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Eye. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are view, visibility, toggle, show, watch and preview. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Eye in another set.
4.9 out of 5 from 150+ developers
Install Eye from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro