SVG icon maker
MEMBERSStart from an icon on a 24 pixel grid, change its lines point by point and export it as SVG, CSS or a React component.
Canvas
Canvas
The code cannot be read. The canvas shows the last version that could.
Fill
Stroke
Text
Place and size
Effects
Nothing is selected. These are the properties of the drawing.
Drawing
Press an element to select it, arrows move it, Delete removes it, Ctrl D copies it. V selects, A edits points, P is the pen, R a rectangle, O an ellipse, T a text. Layers hold every element for the keyboard.
Code, live both ways
Code, live both ways
Weight
What the file weighs
All optimizations
Found a bug or missing something? Write to us
How it works
Icons that stay icons
The templates are drawn on a grid of 24 with strokes of 2 and round ends, in currentColor, so they take the colour of the text around them and look like one set.
Edit points on the canvas or numbers in the code: whole and half numbers keep lines sharp at 24 pixels. The optimizer shows that most icons need no more than one decimal.
Export the icon as SVG, as a data address for a style sheet, or as a React component with its title for screen readers. An icon next to a word should be hidden from them with aria-hidden.
Help
FAQ
Which icons does the icon maker start from?
The Icons view opens with Icon: home, and the templates add search, heart, cart, bell, settings, cloud and mail. Each sets fill="none", stroke="currentColor", stroke-width="2" and round caps and joins once on the svg element, and every path inherits them.
Does the line get thicker when the icon is larger?
Yes. stroke-width is measured in viewBox units, so 2 on a grid of 24 is a twelfth of the size: 2 pixels at 24 and 4 pixels at 48. vector-effect="non-scaling-stroke" on a path keeps its line at one width instead.
Why does an icon used in CSS not take the text colour?
An SVG used as a background or in an img element is a separate picture, so currentColor there falls back to black. The CSS export writes background: url("data:image/svg+xml,...") center / contain no-repeat; an icon that follows the text colour is pasted inline or used as the React component.