Gentleface › Layout & interface › input-search
input-search icon
input-searchInput search: search field, search bar, search box, search input. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated input-search-query · line-round
A query writes itself after the magnifier in two pushes. The lens then travels along the field onto the words, swells as it arrives and rocks across them, and goes home while the query wipes away.
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.75 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="M14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 11C2 11.276 2.098 11.512 2.293 11.707ZM8.854 10.146C8.953 10.246 9.003 10.364 9.003 10.5C9.003 10.636 8.953 10.754 8.854 10.854C8.754 10.953 8.636 11.003 8.5 11.003C8.364 11.003 8.246 10.953 8.146 10.854L6.879 9.586C6.736 9.681 6.583 9.76 6.42 9.824C6.125 9.941 5.818 10 5.5 10C5.182 10 4.875 9.941 4.58 9.824C4.259 9.697 3.976 9.512 3.732 9.268C3.488 9.024 3.303 8.741 3.176 8.42C3.059 8.125 3 7.818 3 7.5C3 7.182 3.059 6.875 3.176 6.58C3.303 6.259 3.488 5.976 3.732 5.732C3.976 5.488 4.259 5.303 4.58 5.176C4.875 5.059 5.182 5 5.5 5C5.818 5 6.125 5.059 6.42 5.176C6.741 5.303 7.024 5.488 7.268 5.732C7.512 5.976 7.697 6.259 7.824 6.58C7.941 6.875 8 7.182 8 7.5C8 7.818 7.941 8.125 7.824 8.42C7.76 8.583 7.681 8.736 7.586 8.879L8.854 10.146ZM4.105 8.052C4.182 8.245 4.293 8.414 4.439 8.561C4.586 8.707 4.755 8.818 4.948 8.895C5.125 8.965 5.309 9 5.5 9C5.691 9 5.875 8.965 6.052 8.895C6.245 8.818 6.414 8.707 6.561 8.561C6.707 8.414 6.818 8.245 6.895 8.052C6.965 7.875 7 7.691 7 7.5C7 7.309 6.965 7.125 6.895 6.948C6.818 6.755 6.707 6.586 6.561 6.439C6.414 6.293 6.245 6.182 6.052 6.105C5.875 6.035 5.691 6 5.5 6C5.309 6 5.125 6.035 4.948 6.105C4.755 6.182 4.586 6.293 4.439 6.439C4.293 6.586 4.182 6.755 4.105 6.948C4.035 7.125 4 7.309 4 7.5C4 7.691 4.035 7.875 4.105 8.052Z"/></svg>
// Gentleface "input-search" (line-round), MIT. https://gentleface.com/icons/input-search
import type { SVGProps } from 'react';
export function InputSearchIcon(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="M14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 11C2 11.276 2.098 11.512 2.293 11.707ZM8.854 10.146C8.953 10.246 9.003 10.364 9.003 10.5C9.003 10.636 8.953 10.754 8.854 10.854C8.754 10.953 8.636 11.003 8.5 11.003C8.364 11.003 8.246 10.953 8.146 10.854L6.879 9.586C6.736 9.681 6.583 9.76 6.42 9.824C6.125 9.941 5.818 10 5.5 10C5.182 10 4.875 9.941 4.58 9.824C4.259 9.697 3.976 9.512 3.732 9.268C3.488 9.024 3.303 8.741 3.176 8.42C3.059 8.125 3 7.818 3 7.5C3 7.182 3.059 6.875 3.176 6.58C3.303 6.259 3.488 5.976 3.732 5.732C3.976 5.488 4.259 5.303 4.58 5.176C4.875 5.059 5.182 5 5.5 5C5.818 5 6.125 5.059 6.42 5.176C6.741 5.303 7.024 5.488 7.268 5.732C7.512 5.976 7.697 6.259 7.824 6.58C7.941 6.875 8 7.182 8 7.5C8 7.818 7.941 8.125 7.824 8.42C7.76 8.583 7.681 8.736 7.586 8.879L8.854 10.146ZM4.105 8.052C4.182 8.245 4.293 8.414 4.439 8.561C4.586 8.707 4.755 8.818 4.948 8.895C5.125 8.965 5.309 9 5.5 9C5.691 9 5.875 8.965 6.052 8.895C6.245 8.818 6.414 8.707 6.561 8.561C6.707 8.414 6.818 8.245 6.895 8.052C6.965 7.875 7 7.691 7 7.5C7 7.309 6.965 7.125 6.895 6.948C6.818 6.755 6.707 6.586 6.561 6.439C6.414 6.293 6.245 6.182 6.052 6.105C5.875 6.035 5.691 6 5.5 6C5.309 6 5.125 6.035 4.948 6.105C4.755 6.182 4.586 6.293 4.439 6.439C4.293 6.586 4.182 6.755 4.105 6.948C4.035 7.125 4 7.309 4 7.5C4 7.691 4.035 7.875 4.105 8.052Z" />
</svg>
);
}Vue: see /icons/input-search.md
Svelte: see /icons/input-search.md
HTML img: see /icons/input-search.md
CSS: see /icons/input-search.md
Data URL: see /icons/input-search.md
Sprite: see /icons/input-search.md
SwiftUI: see /icons/input-search.md
Compose: see /icons/input-search.md
Android XML: see /icons/input-search.md
Flutter: see /icons/input-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 { InputSearchIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- search field, search bar, search box, search input, keyword, keywords, search term
- Alternatives
search: the bare search action (search)
- Also fits
- text field: a search field (search-field)
- Tags
- input, search, field, search-bar, search-box, find, form, query
- Category
- Layout & interface
- Component name
InputSearchIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 14
More layout & interface icons
accordion app apps apps-alert apps-check apps-clock apps-gear apps-link apps-off apps-pencil apps-plus apps-search apps-shield apps-sparkle apps-x breadcrumb · all layout & interface icons
For agents
Metadata: /icons/input-search.json · Markdown: /icons/input-search.md · SVG: https://gentleface.com/svg/{style}/16/input-search.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/input-search.png