How to Make Custom Icons: From Idea to SVG

2026-11-09 · Icons

A complete process for making your own icons: choosing the metaphor, setting up the grid, drawing or generating the shape, testing it small and exporting the right files.

Start with what the icon has to say

An icon is a word in picture form, so begin with the word. Write down the action or object it stands for in one or two words: "export", "invoice", "team", "settings". If you need a sentence, the concept is too broad for one icon.

Then list two or three possible metaphors. "Export" could be an arrow leaving a box, a tray with an up arrow or a document with an arrow. Prefer the metaphor people already know from other apps. A familiar symbol beats a clever one, because the reader has about half a second to recognise it.

Check existing conventions before you invent anything. If every product uses a gear for settings, use a gear. Spend your creativity on icons that have no standard yet.

Set up the grid and the rules

Consistent icons come from fixed rules, not a good eye. Decide these once and write them down.

- Canvas: 24 × 24 px is the common default for interfaces. Use 20 or 16 for dense tables, 32 or 48 for marketing pages. - Live area: keep the artwork within 20 × 20 inside the 24 px canvas, so a 2 px margin stays clear. - Stroke: 1.5 px or 2 px for outline icons, the same everywhere. Rounded caps and joins look friendlier; square ones look more technical. - Corners: pick one radius, often 2 px, for every rounded rectangle. - Style: outline, filled or duotone. Don't mix styles within one set.

Keystone shapes help icons look the same size: a circle of about 20 px, a square of about 18 px and a portrait rectangle of about 16 × 20. Circles need to be slightly larger than squares to look equally big. For more on keeping a whole set aligned, see our icon set consistency rules.

Draw the icon

Work from simple shapes. Build the icon from rectangles, circles and lines first, combine them, and only then add curves.

1. Block out the silhouette with primitives on the grid. 2. Snap every point to whole or half pixels so edges stay crisp at 1×. 3. Cut details with gaps of at least 2 px. Smaller gaps fill in at small sizes. 4. Remove anything that does not help recognition. A camera needs a body, a lens and maybe a bump on top; it does not need a strap. 5. Convert strokes to outlines only at the end, and keep an editable copy with live strokes.

A useful rule: if you cannot draw the icon with eight or fewer shapes, it is probably too detailed for 24 px.

Or generate a first version

If you need many icons quickly, or you want to compare metaphors, generate first drafts and refine the best ones.

Describe the icon with its rules, not just its subject: "a camera icon, outline, 2 px rounded strokes, single dark colour, no fill, centered". Reusing the same style sentence for every icon in a set keeps them consistent.

VEXURA's icon generator draws the SVG from that kind of description, and you can ask for changes in plain words ("make the lens bigger"). For game or retro interfaces, the pixel art generator draws icons and items on a real 24 × 24 pixel grid. Each icon costs 1 credit, and Starter accounts get 1 free generation a day.

If you only need common symbols such as home, search, mail or settings, check free packs before making your own: minimalist vector icons, business icon packs and free SVG icons are free to download.

Test it small, in context

An icon that looks good at 400% can fail at real size. Run these tests before you call it done.

- Size test: view it at 16, 20 and 24 px. Details that blur into a blob should go. - Squint test: blur your eyes. The silhouette alone should still say what the icon is. - Row test: place it next to five other icons in the set. Its visual weight should match. If it looks heavier, thin the shapes or reduce the filled area. - Theme test: check it on light and dark backgrounds. - Label test: show it to someone without the label and ask what it does. If they hesitate, try your second metaphor.

Grow it into a set

One custom icon rarely stays alone. As soon as you have three, treat them as a set and keep a simple reference sheet next to your source files.

- Put every icon on one artboard in a grid, at 1× and at 4×. Inconsistencies jump out when you see them side by side. - Note the rules from your grid setup at the top of the sheet: canvas, live area, stroke, corner radius and style. - Keep a list of metaphors you chose and the ones you rejected, so the next person does not draw a second, different "export" icon. - Name files by meaning, not by shape: icon-delete-24.svg, not icon-trash-can.svg. The meaning stays even if you change the drawing later. - Version the set as a whole. When you change the stroke width, change it everywhere in one pass.

A set of 12 to 20 well-matched icons covers most small products. Add new ones only when a real screen needs them.

Export the right files

Keep one master SVG per icon, named by what it means, such as icon-export-24.svg.

- For the web: optimized SVG, with the viewBox kept and fill or stroke set to currentColor so CSS can recolour it. - For apps and slides: PNG at 1× and 2× (24 and 48 px), or 3× for mobile. - For favicons: a separate simplified version, because a 16 px favicon usually needs fewer details than the 24 px UI icon.

To make PNG, JPG or WebP copies from the SVG, use the image converter. Add a short title or aria-label when an icon carries meaning on its own, and hide purely decorative icons from screen readers.

Try the icon generator

More guides on the VEXURA blog