Shield check icon
A free pencil-style shield check icon, drawn by code from 3 polylines and 2 curves. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use shield-check
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 { ShieldCheck } from '@matita/icons/react';
<ShieldCheck size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="shield-check" />JavaScript
import { ShieldCheck, toSvg } from '@matita/icons';
toSvg(ShieldCheck, { 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-shield-check" data-sketch="" aria-hidden="true"><path d="M11.86 2.9Q15.56 4.75 19.52 5.95Q19.52 8.92 19.61 11.89" stroke-width="1.584"/><path d="M19.71 11.36Q19.08 18.07 11.61 21.12" stroke-width="1.712"/><path d="M12.27 21.35Q5.05 17.98 4.67 11.27" stroke-width="1.792"/><path d="M4.28 12.31Q4.62 9.19 4.48 6.05Q8.46 4.82 12.26 3.12" stroke-width="1.504"/><path d="M8.3 11.76Q9.66 12.82 10.91 14Q13.1 11.7 15.57 9.71" stroke-width="1.6"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { ShieldCheck } from '@matita/icons/react';
<ShieldCheck size={32} pencil />The file is icons/shield-check.svg in the package (pencil/shield-check.svg for the pencil variant). Matita 0.2.1.
02How it's drawn
The recipe for shield-check
Shield check is not stored as a drawing. It is a recipe of 3 polylines and 2 curves 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 12 3 19.5 6 19.5 11.5;
Q 19.5 11.5 19 18 12 21;
Q 12 21 5 18 4.5 11.5;
P 4.5 11.5 4.5 6 12 3;
P 8.8 12 11 14.2 15.5 9.8
shield-check as a number: 2079752521
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, 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 shield-check. Seed 0 is the default.
True pixel sizes.