Gentleface › Actions › eye
eye icon
eyeEye: view, visible, show, preview. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.
Animated eye-blink · line-round
The iris looks left, then right. The upper lid comes down to meet a lower lid that barely moves, twice, and the iris is cut by the same moving edge.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 2.85 s. Examples and helper.
Animated, switches to eye-off eye-off-strike · line-round
The slash draws from the top-left corner. As its tip passes each lid the line parts around it, and the upper half of the iris is wiped away behind it. Going back, the slash retracts and the line heals.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To switch on click, run 0.6 s to 1.6 s and hold, then 2.2 s to 2.76 s to come back. Examples and helper.
Animated, switches to eye-off eye-off-blink · line-round
The eye blinks shut and the slash lands across the closed lid. The lids open crossed, with the iris half gone. Going back, it blinks again, the slash lifts away and the eye opens whole.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To switch on click, run 0.6 s to 2 s and hold, then 2.6 s to 3.42 s to come back. Examples and helper.
Animated, switches to eye-off eye-hide · line-round
The lids come down and meet, the line bends into the closed lid and the lashes grow out of it. After a hold the eye opens again and the slash draws across it, parting the line around its tip. Going back, the slash retracts, the eye closes and opens whole.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To switch on click, run 0.25 s to 2.1 s and hold, then 2.42 s to 4.06 s to come back. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 3C9.51 3 10.882 3.472 12.116 4.415C13.122 5.184 14.059 6.293 14.929 7.743C14.977 7.823 15.001 7.908 15.001 8C15.001 8.092 14.977 8.177 14.929 8.257C14.059 9.707 13.122 10.816 12.116 11.585C10.882 12.528 9.51 13 8 13C6.49 13 5.118 12.528 3.884 11.585C2.878 10.816 1.941 9.707 1.071 8.257C1.023 8.177 0.999 8.092 0.999 8C0.999 7.908 1.023 7.823 1.071 7.743C1.941 6.293 2.878 5.184 3.884 4.415C5.118 3.472 6.49 3 8 3ZM8 12C9.285 12 10.454 11.597 11.509 10.79C12.354 10.144 13.156 9.214 13.914 8C13.156 6.786 12.354 5.856 11.509 5.21C10.454 4.403 9.285 4 8 4C6.715 4 5.546 4.403 4.491 5.21C3.646 5.856 2.844 6.786 2.086 8C2.844 9.214 3.646 10.144 4.491 10.79C5.546 11.597 6.715 12 8 12ZM5.211 6.896C5.363 6.511 5.586 6.172 5.879 5.879C6.172 5.586 6.511 5.363 6.896 5.211C7.25 5.07 7.619 5 8 5C8.381 5 8.75 5.07 9.104 5.211C9.489 5.363 9.828 5.586 10.121 5.879C10.414 6.172 10.637 6.511 10.789 6.896C10.93 7.25 11 7.619 11 8C11 8.381 10.93 8.75 10.789 9.104C10.637 9.489 10.414 9.828 10.121 10.121C9.828 10.414 9.489 10.637 9.104 10.789C8.75 10.93 8.381 11 8 11C7.619 11 7.25 10.93 6.896 10.789C6.511 10.637 6.172 10.414 5.879 10.121C5.586 9.828 5.363 9.489 5.211 9.104C5.07 8.75 5 8.381 5 8C5 7.619 5.07 7.25 5.211 6.896ZM6.14 8.736C6.242 8.993 6.391 9.219 6.586 9.414C6.781 9.609 7.007 9.758 7.264 9.86C7.5 9.953 7.746 10 8 10C8.254 10 8.5 9.953 8.736 9.86C8.993 9.758 9.219 9.609 9.414 9.414C9.609 9.219 9.758 8.993 9.86 8.736C9.953 8.5 10 8.254 10 8C10 7.746 9.953 7.5 9.86 7.264C9.758 7.007 9.609 6.781 9.414 6.586C9.219 6.391 8.993 6.242 8.736 6.14C8.5 6.047 8.254 6 8 6C7.746 6 7.5 6.047 7.264 6.14C7.007 6.242 6.781 6.391 6.586 6.586C6.391 6.781 6.242 7.007 6.14 7.264C6.047 7.5 6 7.746 6 8C6 8.254 6.047 8.5 6.14 8.736Z"/></svg>
// Gentleface "eye" (line-round), MIT. https://gentleface.com/icons/eye
import type { SVGProps } from 'react';
export function EyeIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M8 3C9.51 3 10.882 3.472 12.116 4.415C13.122 5.184 14.059 6.293 14.929 7.743C14.977 7.823 15.001 7.908 15.001 8C15.001 8.092 14.977 8.177 14.929 8.257C14.059 9.707 13.122 10.816 12.116 11.585C10.882 12.528 9.51 13 8 13C6.49 13 5.118 12.528 3.884 11.585C2.878 10.816 1.941 9.707 1.071 8.257C1.023 8.177 0.999 8.092 0.999 8C0.999 7.908 1.023 7.823 1.071 7.743C1.941 6.293 2.878 5.184 3.884 4.415C5.118 3.472 6.49 3 8 3ZM8 12C9.285 12 10.454 11.597 11.509 10.79C12.354 10.144 13.156 9.214 13.914 8C13.156 6.786 12.354 5.856 11.509 5.21C10.454 4.403 9.285 4 8 4C6.715 4 5.546 4.403 4.491 5.21C3.646 5.856 2.844 6.786 2.086 8C2.844 9.214 3.646 10.144 4.491 10.79C5.546 11.597 6.715 12 8 12ZM5.211 6.896C5.363 6.511 5.586 6.172 5.879 5.879C6.172 5.586 6.511 5.363 6.896 5.211C7.25 5.07 7.619 5 8 5C8.381 5 8.75 5.07 9.104 5.211C9.489 5.363 9.828 5.586 10.121 5.879C10.414 6.172 10.637 6.511 10.789 6.896C10.93 7.25 11 7.619 11 8C11 8.381 10.93 8.75 10.789 9.104C10.637 9.489 10.414 9.828 10.121 10.121C9.828 10.414 9.489 10.637 9.104 10.789C8.75 10.93 8.381 11 8 11C7.619 11 7.25 10.93 6.896 10.789C6.511 10.637 6.172 10.414 5.879 10.121C5.586 9.828 5.363 9.489 5.211 9.104C5.07 8.75 5 8.381 5 8C5 7.619 5.07 7.25 5.211 6.896ZM6.14 8.736C6.242 8.993 6.391 9.219 6.586 9.414C6.781 9.609 7.007 9.758 7.264 9.86C7.5 9.953 7.746 10 8 10C8.254 10 8.5 9.953 8.736 9.86C8.993 9.758 9.219 9.609 9.414 9.414C9.609 9.219 9.758 8.993 9.86 8.736C9.953 8.5 10 8.254 10 8C10 7.746 9.953 7.5 9.86 7.264C9.758 7.007 9.609 6.781 9.414 6.586C9.219 6.391 8.993 6.242 8.736 6.14C8.5 6.047 8.254 6 8 6C7.746 6 7.5 6.047 7.264 6.14C7.007 6.242 6.781 6.391 6.586 6.586C6.391 6.781 6.242 7.007 6.14 7.264C6.047 7.5 6 7.746 6 8C6 8.254 6.047 8.5 6.14 8.736Z" />
</svg>
);
}Vue: see /icons/eye.md
Svelte: see /icons/eye.md
HTML img: see /icons/eye.md
CSS: see /icons/eye.md
Data URL: see /icons/eye.md
Sprite: see /icons/eye.md
SwiftUI: see /icons/eye.md
Compose: see /icons/eye.md
Android XML: see /icons/eye.md
Flutter: see /icons/eye.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { EyeIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- view, visible, show, preview, show password, watcher, watchers, watch issue, spectate, spectator mode, impressions, ad impressions, visibility, unhide
- Alternatives
- Don’t confuse with
glasses: glasses mean eyesight or reading mode
- Also fits
- read only: a viewing mode beside editing modes (document mode switch)
- watch: watch a repository or a thread for updates, as GitHub does (view)
- preview file: the bare view when the UI already names the file
- Not for
- vision (use
glasses): view or visible, not eyesight - binoculars (use
binoculars): view or visible, not looking far - tracking (use
radar): view or visible, not tracking
- vision (use
- Tags
- visibility, preview, watch
- Category
- Actions
- Component name
EyeIcon- History
- added
- 20 px drawn, 24 px drawn
- released in 0.1.0
- Since
- version 0.1.0
Family 18
More actions icons
actual-size arrow-down-1-9 arrow-down-9-1 arrow-down-a-z arrow-down-clock arrow-down-z-a arrow-up-clock ban bolt bolt-alert bolt-check bolt-clock bolt-gear bolt-off bolt-pencil bolt-play · all actions icons
For agents
Metadata: /icons/eye.json · Markdown: /icons/eye.md · SVG: https://gentleface.com/svg/{style}/16/eye.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/eye.png