Praveen Juge

Written on · 5 min read

How I made Vadivam: 2,020 icons, one SVG each

How I draw Vadivam's icons in Figma, build 14 packages from one SVG per icon, and why the AI icon studio I built didn't make the cut.

I like Lucide. The names are great. arrow-right, calendar, x. Every developer already knows them.

I just wanted softer shapes. Bigger corners. Smoother curves. The kind of icon that looks at home next to an iOS app.

So I redrew all of them. That became Vadivam. Vadivam means “shape” in Tamil.

A grid of Vadivam outline icons at a slight angle

It’s 2,020 icons today, each in outline and solid, with packages for React, Vue, Svelte, Flutter, Jetpack Compose, and more. Here’s how it’s made.

Same names, new drawings

Every Vadivam icon is a new drawing of a Lucide icon under the same name. That one decision does a lot of work.

You don’t learn a new vocabulary. Search works the way you expect. And moving a project over is one command:

npx vadivam migrate-lucide --write

The shapes are where it’s different. Lucide’s square is 18×18 with a 2px corner. Vadivam’s is 20×20 with a 6px corner and 60% corner smoothing, the same curve iOS uses. Bigger shapes, softer corners, same 2px stroke.

Drawn by hand in Figma

Every icon starts as a 24×24 frame in one Figma file, named after its Lucide name, with a red 2px grid on top.

I draw centerline strokes. No outlined shapes, no flattening. Corners stay as plain circular arcs, because the smoothing comes later from a script.

2,020 frames is a lot to keep tidy, so I built a private Figma plugin for it:

The plugin does the filing. I do the drawing.

Rules I measured, not guessed

I didn’t write the design guide first. I drew a lot of icons, then measured the whole set and wrote down what was actually true.

A few of the rules:

The corner smoothing is my favourite part. Figma has a smoothing slider, but it doesn’t survive SVG export. So a script rebuilds Figma’s 60% “iOS” curve from their own squircle maths on every rounded corner. Short edges get as much smoothing as fits, just like Figma does.

One SVG, every format

Each icon is one SVG file in the repo. That’s the only hand-made part. Everything else is generated.

icons:optimize cleans what Figma’s export leaves behind: joins strokes that meet, removes tiny stray nodes, snaps lines that are 0.05px off the grid, and smooths the corners. Running it twice changes nothing.

icons:check treats every SVG as untrusted input. Only basic shapes, only geometry attributes, no fills on outline icons, no scripts or links. If an icon breaks a rule, nothing ships.

Then icons:build turns the same folder into:

One drawing reaches every platform in the same release. I’ve shipped 82 releases since May.

Solid icons, drafted by code

Solid icons came in October. Drawing 2,020 more by hand from nothing wasn’t going to happen.

So a script drafts each solid icon from its outline twin with Skia’s path operations. Closed shapes fill out to the outline’s edge. A shape inside a filled one is knocked out. Lines inside a fill are cut out at 2px.

The draft is a starting point, not the answer. Every solid goes back into Figma for a pass by eye, and once a file is in icons-solid/, it’s edited there and never regenerated.

I tried AI. It didn’t make the cut.

In September I wanted to know if AI could speed up the missing icons. So I built Vadivam Forge in a day, a local-only studio on my Mac.

It wasn’t a “make me an icon” box. I tried to make it as strict as the real set:

  1. It derived a style contract from my icons: the viewBox, stroke, caps, grid, and how complex an icon usually is.
  2. Every request sent real Vadivam icons as references, so the model saw the actual markup, not just a description.
  3. Every candidate went through a gate: cleanup, a rule engine, a near-duplicate check against the whole set, and a preview strip at 16, 24, and 32px in light and dark.
  4. A gaps page ranked the Lucide icons I hadn’t drawn yet by popularity, and a $10 daily cap stopped me from burning money.

It never wrote to the Vadivam repo. Anything good would still have to go through Figma.

Then I used it for two days. 29 runs across two models, 107 candidates, about $8.40. Handshake, store, truck, megaphone, headset, five runs at users-round. I even asked it to repair two existing icons.

Not one candidate broke a hard rule. I starred one.

That’s the problem. A rule engine can tell you an icon has the right stroke and fits the padding. It can’t tell you it looks like it belongs next to 500 other icons. Valid isn’t the same as good.

So I went back to Figma. Most of the icons I’d tried in Forge shipped in October, drawn by hand. Even the one I starred, square-arrow-out-up-right, shipped as a different drawing. The Forge version had plain rounded corners and a simple arrowhead. The real one has Vadivam’s smoothed corners and swept arrowhead.

AI was fine at “what could this icon look like?” It wasn’t good at the part that matters: does this feel like the rest of the set at 24px? That part is still me, a grid, and a lot of zooming.

Try it

npm install vadivam-react
import { Activity } from "vadivam-react";

<Activity size={20} aria-label="Activity" />;

Browse all icons, grab the Figma plugin, or read the code on GitHub. It’s free and MIT licensed.

If an icon looks off at 24px, open an issue. I’ll zoom in.