Radio icon

New Added in v0.7.0

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

radio

01Use it

Use radio

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

<Radio size={24} />

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

JavaScript

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

toSvg(Radio, { 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-radio" data-sketch="" aria-hidden="true"><path d="M2.78 8.97Q12.06 9.32 21.35 8.86M20.5 7.41Q20.33 14.28 20.68 21.15M21.34 19.83Q12.02 20.62 2.7 20.13M3.58 20.74Q3.67 14.67 3.67 8.6" stroke-width="1.648"/><path d="M6.92 9.06Q12.28 6.06 17.87 3.49" stroke-width="1.76"/><path d="M11.83 13.04C11.9 13.19 12.16 13.62 12.25 13.93C12.34 14.25 12.42 14.61 12.39 14.94C12.35 15.27 12.2 15.61 12.04 15.91C11.88 16.21 11.66 16.5 11.41 16.75C11.16 17 10.87 17.28 10.54 17.42C10.22 17.55 9.82 17.56 9.45 17.57C9.07 17.58 8.65 17.62 8.3 17.5C7.95 17.38 7.64 17.1 7.35 16.85C7.07 16.6 6.78 16.33 6.57 16C6.36 15.67 6.16 15.28 6.1 14.9C6.05 14.52 6.14 14.09 6.24 13.71C6.34 13.32 6.49 12.95 6.69 12.6C6.89 12.24 7.12 11.85 7.43 11.59C7.75 11.33 8.18 11.14 8.59 11.02C9 10.9 9.46 10.82 9.88 10.86C10.31 10.89 10.75 11.06 11.13 11.25C11.52 11.44 11.89 11.7 12.21 12C12.53 12.3 12.93 12.87 13.07 13.04" stroke-width="1.504"/><path d="M14.72 12.63Q16.39 12.44 18.06 12.37" stroke-width="1.408"/><path d="M14.64 16.68Q16.43 16.67 18.23 16.5" stroke-width="1.392"/></svg>

Pencil variant

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

<Radio size={32} pencil />

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

02How it's drawn

The recipe for radio

Radio is not stored as a drawing. It is a recipe of 1 rectangle, 3 lines and 1 circle 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
R 3.5 9 17 11;
L 7 9 17.5 3.5;
C 9.5 14.5 2.8;
L 15 12.5 18 12.5;
L 15 16.5 18 16.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 radio. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil