File search icon
New Added in v0.7.0
A free pencil-style file search icon, drawn by code from 1 polyline, 1 circle and 1 line. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use file-search
One package, four ways in. The icon inherits currentColor and is decorative unless you give it a title. Install it with npm i @matita/icons.
React
import { FileSearch } from '@matita/icons/react';
<FileSearch size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="file-search" />JavaScript
import { FileSearch, toSvg } from '@matita/icons';
toSvg(FileSearch, { size: 24 }); // SVG stringSVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" overflow="visible" class="sketch-icon sketch-icon-file-search" data-sketch="" aria-hidden="true"><path d="M14.28 3.37Q10.11 3.21 5.94 3.33Q6.43 11.89 5.89 20.45Q12.02 20.17 18.16 20.35Q17.6 13.87 17.99 7.38Q16.2 5.35 14.14 3.59Q14.07 5.54 13.85 7.47Q16.14 7.26 18.43 7.42" stroke-width="1.552"/><path d="M13.46 12.6C13.49 12.7 13.62 12.96 13.64 13.16C13.67 13.35 13.67 13.57 13.62 13.76C13.57 13.96 13.46 14.15 13.32 14.32C13.19 14.49 13.02 14.66 12.83 14.77C12.64 14.87 12.4 14.93 12.17 14.96C11.95 15 11.71 15 11.48 14.97C11.25 14.94 11.01 14.89 10.8 14.79C10.59 14.68 10.38 14.52 10.22 14.35C10.07 14.17 9.92 13.95 9.84 13.73C9.76 13.5 9.7 13.24 9.72 13C9.74 12.76 9.84 12.51 9.94 12.28C10.05 12.05 10.17 11.8 10.35 11.62C10.54 11.44 10.8 11.3 11.05 11.2C11.3 11.1 11.58 11.02 11.85 11C12.13 10.98 12.43 10.99 12.7 11.06C12.97 11.14 13.26 11.26 13.49 11.43C13.71 11.59 13.9 11.83 14.05 12.07C14.21 12.31 14.36 12.73 14.42 12.86" stroke-width="1.776"/><path d="M13.06 14.43Q13.84 15.43 14.73 16.33" stroke-width="1.376"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { FileSearch } from '@matita/icons/react';
<FileSearch size={32} pencil />The file is icons/file-search.svg in the package (pencil/file-search.svg for the pencil variant). Matita 0.7.0.
02How it's drawn
The recipe for file-search
File search is not stored as a drawing. It is a recipe of 1 polyline, 1 circle and 1 line on a 24 by 24 grid, and a small program draws it like a pencil would. The wobble comes from the name, so it always comes out the same.
P 14 3.5 6 3.5 6 20.5 18 20.5 18 7.5 14 3.5 14 7.5 18 7.5;
C 11.9 13.2 1.63;
L 13.4 14.7 14.5 16
file-search as a number: 4003265762
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, B bezier curve, S smooth line, O dot. Separate shapes with ;. Edits stay on this page.
03Takes, sizes, pencil
Same icon, every way
Pass a seed for another take of the same recipe. The wobble is capped, so it still reads at 16 px.
Five seeds of file-search. Seed 0 is the default.
file-search from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/file-search.svg.
True pixel sizes.