Steve Kinney

Figma for Developers

Generating an Icon Library

Icons

Any design system or application comes with a certain amount of iconography. This is always a tricky dance, you typically want as many as you need and as few as you can get away with. Again, I’ll leave the philosophy and theory to the experts and we’ll focus on the practical parts of how you can go about generating an icon library in Figma—and in another course, we’ll look at how implement these in code.

For starters, I like Lucide as a starting point for my icon library. At the time of this writing, it’s got 1,452 icons, which seems like more than enough for our purposes.

Here is our plan of attack:

  1. We’ll go through Lucide and select some icons that we want to use.
  2. We’ll create an Icon component in Figma.
  3. We’re make each icon a variant of that component.

Bring an Icon into Figma

There are plugins for Figma, but honestly, it’s super easy to just grab an icon as an SVG and paste it into Figma.

A Lucide icon that we're going to copy as an SVG

I’m going to copy in the following icons:

I did the tedious part for you

You can—and should—just steal my icons from here.

Creating the Components

If you want to make your future life easier—go and rename all of the components and prefix them with Type=, you can do this easily with Type=$&.

Bulk rename the icons

Next, we’ll select Create component set.

Create component set

You will now have an component that you can rename to Icon. This give you a quick and easy list of approved icons for use in your design system.

Last modified on .