Users icon

Added in v0.2.0

A free pencil-style users icon, drawn by code from 1 circle and 3 arcs. Use it as an SVG, a React component, or by name. MIT licensed.

users

01Use it

Use users

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 { Users } from '@matita/icons/react';

<Users size={24} />

// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="users" />

JavaScript

import { Users, toSvg } from '@matita/icons';

toSvg(Users, { size: 24 });   // SVG string

SVG

<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-users" data-sketch="" aria-hidden="true"><path d="M8.87 5.07C9.09 5.07 9.74 5.05 10.17 5.11C10.61 5.16 11.12 5.18 11.5 5.39C11.88 5.61 12.18 6.02 12.43 6.39C12.69 6.76 12.9 7.17 13.04 7.6C13.19 8.04 13.33 8.53 13.3 8.98C13.27 9.44 13.06 9.91 12.85 10.34C12.64 10.77 12.39 11.24 12.04 11.55C11.68 11.86 11.17 12.03 10.71 12.19C10.25 12.34 9.75 12.48 9.26 12.48C8.78 12.49 8.24 12.4 7.77 12.21C7.31 12.03 6.85 11.72 6.48 11.37C6.12 11.01 5.78 10.56 5.58 10.08C5.38 9.61 5.29 9.06 5.27 8.54C5.26 8.02 5.3 7.45 5.48 6.96C5.65 6.47 5.99 6.01 6.35 5.62C6.7 5.22 7.13 4.87 7.6 4.61C8.07 4.35 8.89 4.15 9.15 4.05" stroke-width="1.52"/><path d="M2.75 19.29C2.96 18.82 3.36 17.23 3.99 16.46C4.61 15.68 5.58 15.02 6.5 14.63C7.41 14.24 8.51 14.08 9.5 14.1C10.49 14.13 11.55 14.36 12.44 14.77C13.33 15.19 14.2 15.85 14.84 16.6C15.49 17.35 16.06 18.83 16.3 19.27" stroke-width="1.792"/><path d="M15.9 4.96C16.14 5.06 16.87 5.28 17.29 5.54C17.71 5.8 18.13 6.12 18.42 6.51C18.71 6.91 18.94 7.41 19.04 7.9C19.13 8.39 19.14 8.98 18.98 9.43C18.82 9.89 18.42 10.28 18.09 10.64C17.76 11.01 17.43 11.42 17.01 11.62C16.59 11.83 16.06 11.85 15.57 11.88C15.08 11.9 14.33 11.79 14.08 11.77" stroke-width="1.536"/><path d="M13.88 15.45C14.29 15.39 15.52 15.06 16.34 15.08C17.16 15.1 18.1 15.22 18.82 15.59C19.53 15.96 20.16 16.67 20.65 17.33C21.14 17.99 21.57 19.19 21.76 19.56" stroke-width="1.824"/></svg>

Pencil variant

import '@matita/icons/pencil.css';
import { Users } from '@matita/icons/react';

<Users size={32} pencil />

The file is icons/users.svg in the package (pencil/users.svg for the pencil variant). Matita 0.7.0.

02How it's drawn

The recipe for users

Users is not stored as a drawing. It is a recipe of 1 circle and 3 arcs 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.

A · Recipe
C 9.5 8.5 3.5;
A 9.5 21 7 200 340;
A 15.5 8.5 3.5 -75 105;
A 16 21 6 255 340
B · Plotted
C · Drawn
How it works

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.

seed 0
seed 1
seed 2
seed 3
seed 4

Five seeds of users. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

users from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/users.svg.

16 px
20 px
24 px
32 px
48 px
96 px

True pixel sizes.

Ink
Pencil