Nov 24, 2023

The Flexible Way of Working with Icon Sets in Webflow

Nikolai Bain Profile Picture

By Nikolai Bain

The Flexible Way of Working with Icon Sets in Webflow
The Flexible Way of Working with Icon Sets in Webflow

Prefer video?

Watch the video version of this blog post on my Youtube channel.

Watch Video 

Introduction

Icons are an essential building block used when designing a website. Having a consistent icon style used throughout a website helps to tie the whole theme of the design together.

Designing all your icons from scratch helps to create a unique look and feel for a website, but eats up far too much time when there are already plenty of great icon sets that you can find online.

When working with icons for Webflow, the usual process is: dropping all the icons you want to use into a design program such as Figma, recolouring them, exporting them, and uploading them to Webflow.

You can then create a folder for all of your icons to keep things as neat and tidy as you can.

The issue with this is that you still have to source all of the icons yourself, and once you've added them you can't change the colour of any of them. You also will still have all the icons in the rest of your images files when trying to browse for other assets.

Though this way of working with icons is straight forward, it's not as flexible as it could be, and when you start adding in too many icons, it becomes even more of a pain to browse them.

So what's the alternative?

Using an Icon Font

Icon fonts are a type of font we can install to add icons into our Webflow project. Instead of working with them in the assets tab of a project, we install the font, and change our font to the icon font whenever we want to add an icon.

Working this way we can change the colour of all our icons at any time, as the icons will be coloured the same way fonts in our projects are. This is much more flexible to use the icon how you want, and gives you plenty more icon options to choose from without it taking up any space in your assets library.

How to install an icon font

If you've never worked with an icon font set before, a good one to start with is Google's Material Icons. The style options to choose from include outlined, filled, rounded, sharp, and two tone. Through their Github page, you can download the font for the style that you want.

Once you've downloaded the option you want, upload it in the fonts tab of your project settings. You upload this font the same way you upload any other custom font, through the Custom Fonts section. Format the name in all caps so you can see the font name easily in the designer.

Now that you've installed the font, jump into the project designer so we can use it.

Webflow Templates Cover

Don't want to build from scratch?

Start with a Webflow template and have your new website up in no time.

How to use icon fonts in Webflow

Add in a text block where you want to add an icon, and set up a class for anytime you want to add an icon. Change the font to your new icon font, and don't worry when it makes the text look strange.

Whenever you want to use an icon, you simply go to the icon page of the font you've installed. In our case, we will go to the Material icons font page. Here we can search for the icon we want to use through the search field, otherwise we can browse to find a good icon.

Once you've found an icon we want to use, all you need to do is click on it, and then copy the name of the icon. This is easiest to do by copying the name from the top right of the page.

Paste the name into your text block that you've just added. It should look like this, with only the first letter being visible.

To get the icon to show, we just have to change the caps to lowercase, and we can do this through the text settings on the right. Change Capitalise to lowercase, and our icon will appear!

If the icon has a name that is more than one word, such as Flash On, instead of copying the name of the icon, you will want to copy the name in the embed settings, so that you are instead inserting flash_on into the text block.

From here, we can adjust the colour, size, and padding to better suit the space it is used in.

That's the truely flexible way of working with icons in Webflow, and once you get the hang of it, it becomes second nature to use.

Being able to change the colour of the icons at any time makes this the best solution available right now, and gives you a much broader range of icons to choose from. Let's hope in the future that Webflow adds a better way to work with and organise icons, but for now, this is a great workaround.

Once you've mastered using icon fonts, you can add custom code snippets that take your website to the next level.

Best Practices for Using Icons

Here are some tips and tricks to keep in mind:

  1. Maintain consistency in icon style.
  2. Ensure icons are responsive on all devices.
  3. Test icon placement for mobile and desktop views.
  4. Use icons sparingly; avoid clutter.
  5. Incorporate tooltips for icon descriptions.
  6. Regularly update icons to reflect changing trends.

Common Mistakes to Avoid

Lest we forget some mistakes to avoid when using icons:

  1. Overloading pages with too many icons.
  2. Using icons with unclear meanings.
  3. Neglecting accessibility features.
  4. Ignoring mobile responsiveness.
  5. Failing to update icons to match evolving design trends.

FAQs

What is the role of icons in web design?

Icons play a crucial role in web design by conveying information, improving user navigation, and enhancing the overall user experience.

Where can I find icons for my Webflow project?

You can find icons on websites like Font Awesome, Iconfinder, and Material Icons. These resources offer a wide variety of icons for different purposes.

How can I optimize icons for SEO?

To optimize icons for SEO, ensure they are appropriately placed, use alt text and aria labels, and focus on improving user engagement and experience.

What are the common mistakes to avoid when using icons in web design?

Common mistakes include overloading pages with icons, using icons with unclear meanings, neglecting accessibility, and failing to update icons to match design trends.

Why is icon accessibility important for a website?

Icon accessibility is essential for an inclusive website, ensuring that all users, including those with disabilities, can access and understand the content on your site.

Nikolai Bain Profile Picture

Written by

Nikolai Bain

I'm a Webflow professional partner and template designer who helps users learn to use Webflow better.

More about me

Written by

Uday Tank

Uday Tank is a serial entrepreneur and content marketing leader who serves the international community at Rankwisely. He enjoys writing, including marketing, productivity, business, health, diversity, and management.

More about Rankwisely

Ready to learn more?

I've worked with countless businesses around the world. Maybe you'll be next.

Get in Touch