Alarm clock icon
New Added in v0.4.0
A free pencil-style alarm clock icon, drawn by code from 1 circle, 1 polyline and 2 lines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use alarm-clock
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 { AlarmClock } from '@matita/icons/react';
<AlarmClock size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="alarm-clock" />JavaScript
import { AlarmClock, toSvg } from '@matita/icons';
toSvg(AlarmClock, { size: 24 }); // SVG stringSVG
<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-alarm-clock" data-sketch="" aria-hidden="true"><path d="M15.66 19.39C15.24 19.57 14.02 20.31 13.13 20.47C12.24 20.64 11.22 20.58 10.33 20.37C9.44 20.17 8.59 19.72 7.8 19.26C7.01 18.79 6.18 18.27 5.59 17.58C5 16.9 4.49 16.01 4.26 15.15C4.04 14.29 4.13 13.31 4.24 12.42C4.35 11.54 4.59 10.66 4.94 9.84C5.3 9.02 5.73 8.12 6.38 7.49C7.02 6.86 7.94 6.44 8.8 6.06C9.65 5.67 10.59 5.28 11.52 5.19C12.45 5.11 13.47 5.3 14.39 5.56C15.3 5.82 16.26 6.2 17.01 6.76C17.76 7.31 18.34 8.12 18.88 8.9C19.41 9.68 20.02 10.53 20.23 11.43C20.43 12.33 20.27 13.36 20.09 14.28C19.91 15.2 19.6 16.14 19.13 16.95C18.66 17.75 17.97 18.48 17.25 19.11C16.52 19.74 15.18 20.46 14.77 20.73" stroke-width="1.696"/><path d="M12 8.71Q12 10.92 11.91 13.13Q13.39 13.85 14.85 14.63" stroke-width="1.456"/><path d="M3.16 6.17Q4.86 4.53 6.73 3.09" stroke-width="1.536"/><path d="M20.69 6.03Q18.88 4.8 17.21 3.42" stroke-width="1.6"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { AlarmClock } from '@matita/icons/react';
<AlarmClock size={32} pencil />The file is icons/alarm-clock.svg in the package (pencil/alarm-clock.svg for the pencil variant). Matita 0.4.0.
02How it's drawn
The recipe for alarm-clock
Alarm clock is not stored as a drawing. It is a recipe of 1 circle, 1 polyline and 2 lines 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.
C 12 13 7.5;
P 12 9 12 13 14.5 14.5;
L 3.5 6 6.5 3.5;
L 20.5 6 17.5 3.5
alarm-clock as a number: 2328059021
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, O dot. Separate shapes with ;. Edits stay on this page.
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.
Five seeds of alarm-clock. Seed 0 is the default.
alarm-clock from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/alarm-clock.svg.
True pixel sizes.