User circle icon

New Added in v0.4.0

A free pencil-style user circle icon, drawn by code from 2 circles and 1 arc. Use it as an SVG, a React component, or by name. MIT licensed.

user-circle

01Use it

Use user-circle

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

<UserCircle size={24} />

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

JavaScript

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

toSvg(UserCircle, { 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-user-circle" data-sketch="" aria-hidden="true"><path d="M12.9 21.27C12.36 21.21 10.73 21.23 9.69 20.96C8.64 20.69 7.46 20.35 6.63 19.64C5.8 18.94 5.28 17.76 4.7 16.74C4.13 15.72 3.37 14.68 3.15 13.54C2.94 12.4 3.15 11.06 3.42 9.91C3.7 8.76 4.21 7.65 4.81 6.65C5.41 5.65 6.13 4.62 7.01 3.92C7.89 3.23 9.03 2.74 10.11 2.47C11.19 2.19 12.43 2.06 13.51 2.29C14.58 2.52 15.62 3.2 16.57 3.83C17.53 4.47 18.55 5.15 19.23 6.09C19.91 7.02 20.35 8.27 20.65 9.44C20.96 10.62 21.15 11.9 21.07 13.12C20.98 14.34 20.7 15.69 20.15 16.75C19.61 17.81 18.67 18.68 17.8 19.49C16.93 20.3 15.99 21.22 14.93 21.61C13.87 21.99 12.03 21.79 11.45 21.83" stroke-width="1.504"/><path d="M14.76 10.65C14.67 10.82 14.49 11.38 14.24 11.68C14 11.97 13.65 12.21 13.3 12.39C12.95 12.57 12.54 12.75 12.15 12.77C11.76 12.8 11.34 12.66 10.95 12.54C10.56 12.41 10.14 12.27 9.83 12.01C9.51 11.76 9.25 11.38 9.07 11.01C8.89 10.64 8.76 10.21 8.75 9.8C8.73 9.38 8.83 8.93 9 8.54C9.16 8.16 9.44 7.78 9.75 7.49C10.06 7.19 10.44 6.93 10.85 6.77C11.25 6.6 11.73 6.47 12.18 6.47C12.62 6.47 13.12 6.58 13.53 6.77C13.94 6.95 14.34 7.25 14.65 7.59C14.96 7.92 15.21 8.34 15.36 8.77C15.52 9.2 15.61 9.7 15.58 10.16C15.55 10.61 15.39 11.09 15.17 11.52C14.96 11.94 14.45 12.5 14.3 12.7" stroke-width="1.456"/><path d="M6.34 17.14C6.62 16.78 7.35 15.51 8.06 14.97C8.78 14.44 9.75 14.13 10.63 13.95C11.52 13.77 12.51 13.7 13.38 13.89C14.25 14.07 15.16 14.52 15.87 15.06C16.59 15.6 17.37 16.79 17.67 17.14" stroke-width="1.488"/></svg>

Pencil variant

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

<UserCircle size={32} pencil />

The file is icons/user-circle.svg in the package (pencil/user-circle.svg for the pencil variant). Matita 0.4.0.

02How it's drawn

The recipe for user-circle

User circle is not stored as a drawing. It is a recipe of 2 circles and 1 arc 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 12 12 9;
C 12 9.8 2.8;
A 12 20.2 6.5 215 325
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 user-circle. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil