Message circle icon

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

message-circle

01Use it

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

<MessageCircle size={24} />

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

JavaScript

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

toSvg(MessageCircle, { 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-message-circle" data-sketch="" aria-hidden="true"><path d="M5.52 16.75C5.22 16.22 4 14.72 3.71 13.59C3.42 12.45 3.51 11.1 3.76 9.94C4 8.78 4.5 7.59 5.18 6.62C5.85 5.65 6.78 4.68 7.8 4.1C8.82 3.52 10.12 3.24 11.31 3.14C12.5 3.04 13.83 3.08 14.94 3.48C16.05 3.88 17.17 4.66 17.98 5.52C18.8 6.38 19.41 7.51 19.83 8.63C20.26 9.74 20.6 11.01 20.55 12.2C20.49 13.39 20.12 14.73 19.52 15.77C18.92 16.8 17.95 17.78 16.96 18.43C15.97 19.09 14.72 19.51 13.55 19.71C12.39 19.91 11.09 19.91 9.95 19.64C8.81 19.36 7.24 18.32 6.69 18.06" stroke-width="1.424"/><path d="M8.24 18.68Q5.54 19.52 2.96 20.69Q4.08 18.15 4.74 15.46" stroke-width="1.68"/></svg>

Pencil variant

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

<MessageCircle size={32} pencil />

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

02How it's drawn

The recipe for message-circle

Message circle is not stored as a drawing. It is a recipe of 1 arc and 1 polyline 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
A 12 11.5 8.5 150 480;
P 7.8 18.9 3 20.5 4.6 15.8
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 message-circle. Seed 0 is the default.

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

True pixel sizes.

Ink
Pencil