Gentleface › Actions › search
search icon
searchSearch: search, find, lookup, symbol search. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.
Animated search-scan · line-round
The glass scans around a small loop, and a highlight sweeps inside the lens as it goes.
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.6 s. 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="M15.003 14.5C15.003 14.636 14.953 14.754 14.854 14.854C14.754 14.953 14.636 15.003 14.5 15.003C14.364 15.003 14.246 14.953 14.146 14.854L10.02 10.727C9.573 11.101 9.074 11.396 8.525 11.614C7.874 11.871 7.199 12 6.5 12C5.801 12 5.126 11.871 4.475 11.614C3.769 11.334 3.148 10.926 2.611 10.389C2.074 9.852 1.666 9.231 1.386 8.525C1.129 7.874 1 7.199 1 6.5C1 5.801 1.129 5.126 1.386 4.475C1.666 3.769 2.074 3.148 2.611 2.611C3.148 2.074 3.769 1.666 4.475 1.386C5.126 1.129 5.801 1 6.5 1C7.199 1 7.874 1.129 8.525 1.386C9.231 1.666 9.852 2.074 10.389 2.611C10.926 3.148 11.334 3.769 11.614 4.475C11.871 5.126 12 5.801 12 6.5C12 7.199 11.871 7.874 11.614 8.525C11.396 9.074 11.101 9.573 10.727 10.02L14.854 14.146C14.953 14.246 15.003 14.364 15.003 14.5ZM9.98 9.273L10.016 9.309C10.295 8.962 10.517 8.577 10.684 8.156C10.895 7.624 11 7.072 11 6.5C11 5.928 10.895 5.376 10.684 4.844C10.455 4.266 10.121 3.757 9.682 3.318C9.243 2.879 8.734 2.545 8.156 2.316C7.624 2.105 7.072 2 6.5 2C5.928 2 5.376 2.105 4.844 2.316C4.266 2.545 3.757 2.879 3.318 3.318C2.879 3.757 2.545 4.266 2.316 4.844C2.105 5.376 2 5.928 2 6.5C2 7.072 2.105 7.624 2.316 8.156C2.545 8.734 2.879 9.243 3.318 9.682C3.757 10.121 4.266 10.455 4.844 10.684C5.376 10.895 5.928 11 6.5 11C7.072 11 7.624 10.895 8.156 10.684C8.577 10.517 8.962 10.295 9.309 10.016L9.273 9.98C9.535 9.772 9.772 9.535 9.98 9.273Z"/></svg>
// Gentleface "search" (line-round), MIT. https://gentleface.com/icons/search
import type { SVGProps } from 'react';
export function SearchIcon(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="M15.003 14.5C15.003 14.636 14.953 14.754 14.854 14.854C14.754 14.953 14.636 15.003 14.5 15.003C14.364 15.003 14.246 14.953 14.146 14.854L10.02 10.727C9.573 11.101 9.074 11.396 8.525 11.614C7.874 11.871 7.199 12 6.5 12C5.801 12 5.126 11.871 4.475 11.614C3.769 11.334 3.148 10.926 2.611 10.389C2.074 9.852 1.666 9.231 1.386 8.525C1.129 7.874 1 7.199 1 6.5C1 5.801 1.129 5.126 1.386 4.475C1.666 3.769 2.074 3.148 2.611 2.611C3.148 2.074 3.769 1.666 4.475 1.386C5.126 1.129 5.801 1 6.5 1C7.199 1 7.874 1.129 8.525 1.386C9.231 1.666 9.852 2.074 10.389 2.611C10.926 3.148 11.334 3.769 11.614 4.475C11.871 5.126 12 5.801 12 6.5C12 7.199 11.871 7.874 11.614 8.525C11.396 9.074 11.101 9.573 10.727 10.02L14.854 14.146C14.953 14.246 15.003 14.364 15.003 14.5ZM9.98 9.273L10.016 9.309C10.295 8.962 10.517 8.577 10.684 8.156C10.895 7.624 11 7.072 11 6.5C11 5.928 10.895 5.376 10.684 4.844C10.455 4.266 10.121 3.757 9.682 3.318C9.243 2.879 8.734 2.545 8.156 2.316C7.624 2.105 7.072 2 6.5 2C5.928 2 5.376 2.105 4.844 2.316C4.266 2.545 3.757 2.879 3.318 3.318C2.879 3.757 2.545 4.266 2.316 4.844C2.105 5.376 2 5.928 2 6.5C2 7.072 2.105 7.624 2.316 8.156C2.545 8.734 2.879 9.243 3.318 9.682C3.757 10.121 4.266 10.455 4.844 10.684C5.376 10.895 5.928 11 6.5 11C7.072 11 7.624 10.895 8.156 10.684C8.577 10.517 8.962 10.295 9.309 10.016L9.273 9.98C9.535 9.772 9.772 9.535 9.98 9.273Z" />
</svg>
);
}Vue: see /icons/search.md
Svelte: see /icons/search.md
HTML img: see /icons/search.md
CSS: see /icons/search.md
Data URL: see /icons/search.md
Sprite: see /icons/search.md
SwiftUI: see /icons/search.md
Compose: see /icons/search.md
Android XML: see /icons/search.md
Flutter: see /icons/search.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 { SearchIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- search, find, lookup, symbol search
- Alternatives
search-sparkle: AI or semantic searchscan-search: search with an image (visual search)
- Don’t confuse with
zoom-in: + inside the lens means zoom
- Also fits
- search files: the bare search when the UI already names the files
- command palette: a plain search field (search)
- search field: the bare search action (search)
- search table: a plain search (search)
- web search: search within the app
- research: searching content
- Not for
- Tags
- magnifier, lens, find
- Category
- Actions
- Component name
SearchIcon- History
- added
- 20 px drawn, 24 px drawn
- released in 0.1.0
- Since
- version 0.1.0
Family 19
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/search.json · Markdown: /icons/search.md · SVG: https://gentleface.com/svg/{style}/16/search.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/search.png