Flame icon

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

flame

01Use it

Use flame

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

<Flame size={24} />

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

JavaScript

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

toSvg(Flame, { 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-flame" data-sketch="" aria-hidden="true"><path d="M18.04 14.08C17.98 14.51 17.96 15.83 17.72 16.64C17.48 17.45 17.13 18.31 16.6 18.95C16.06 19.59 15.28 20.13 14.51 20.47C13.75 20.82 12.83 21.05 12 21.03C11.17 21 10.33 20.66 9.56 20.32C8.78 19.98 7.87 19.62 7.35 19C6.82 18.38 6.59 17.43 6.38 16.61C6.17 15.8 6.15 14.52 6.11 14.1" stroke-width="1.664"/><path d="M5.95 14.99Q6.66 8.63 12.16 2.62" stroke-width="1.408"/><path d="M18.2 15.37Q17.47 8.49 11.87 2.93" stroke-width="1.824"/><path d="M11.9 10.91Q9.55 15.63 12.19 18.52" stroke-width="1.504"/><path d="M11.69 10.89Q14.63 15.59 11.63 18.84" stroke-width="1.648"/></svg>

Pencil variant

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

<Flame size={32} pencil />

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

02How it's drawn

The recipe for flame

Flame is not stored as a drawing. It is a recipe of 1 arc and 4 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.

A · Recipe
A 12 15 6 0 180;
Q 6 15 6.5 8.5 12 3;
Q 18 15 17.5 8.5 12 3;
Q 12 11 9.5 15.5 12 18.5;
Q 12 11 14.5 15.5 12 18.5
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 flame. Seed 0 is the default.

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

True pixel sizes.

Ink
Pencil