Skip to content

Iconify Updates 2024

Iconify API 3.1.0 26 Apr

Iconify API version 3.1.0 has been published on NPM and Docker.

It fixes a bug that prevented icons named "constructor" from being displayed correctly (forgot to use null constructor for object in one place in code).

Figma plugin preview 25 Apr

Preview of the new Iconify plugin for Figma is now fully functional.

All functions and pages are working properly.

You can download and install plugin from GitHub repository.

Additionally, the previous version of plugin has been backed up in archive/v3-dist branch of repository, so you can use the old version after the new version goes live.

Iconify for Vue 4.1.2 19 Apr

Iconify icon component for Vue has been updated.

Version 4.1.2 adds new boolean attribute: ssr.

If enabled, an icon will be rendered immediately, without flickering, if icon data is available.

vue<Icon icon="mdi:home" :ssr="true" />

Why is it not enabled by default?

Rendering dynamically loaded content is tricky with SSR. When a page is hydrated, content rendered on server and client must match. To avoid issues, Iconify icon components do not render anything until the component is mounted, which happens after hydration is complete.

When to use it?

New attribute will render icon immediately when data is available, regardless of mount state.

This should be used carefully with SSR (server side rendering, such as Nuxt). Make sure icon data is available on server and client before rendering a component.

If you are not using SSR, it is safe to use attribute to force icon render faster because there is no hydration process. It will render icon immediately when icon data is available.

Or, to be completely safe, use Iconify Icon web component. It is safe to use with and without SSR.

Figma plugin preview 18 Apr

Preview of the new Iconify plugin for Figma is available!

This is a complete rewrite, built with Vue.

Short list of new features:

  • More compact UI, making it easier to use plugin on small screen.
  • Advanced filters for icon sets, favorite icon sets, detailed license information.
  • List of icons is now scrollable. You are no longer required to use pagination.
  • More precise drag and drop.
  • Better handling for icon dimensions. When replacing icon, new icon will be imported with same dimensions. New icons will be imported as small icons.
  • Better handling of animated icons. Figma does not support animations, so animations are stripped correctly before importing icon.

You can download and install plugin from GitHub repository.

Iconify Icon 2.1.0 15 Apr

Iconify Icon web component version 2.1.0 has been published.

Iconify Icon web component uses IntersectionObserver to detect when icon is visible. If it is not visible, the icon is not rendered. Not rendering icons that are not visible improves page performance by a lot, especially when using animated icons.

New version adds noobserver attribute, which can be used to disable IntersectionObserver:

html<iconify-icon icon="line-md:bell-alert-loop" noobserver></iconify-icon>

Download icons as PNG 9 Apr

On Iconify icon sets website you can now download icons as PNG!

  • You customise PNG size, default is 512x512.
  • Animations are automatically removed from animated SVGs.
  • You can download and/or copy to clipboard.
  • Website shows sample PNG that you can drag/drop to other apps. It is scaled down in UI, but dropped as full size.

Screenshot

Customise icon stroke width and remove animations 6 Feb

Iconify icon sets website has been updated.

You can now:

  • Change stroke width in icons that use stroke.
  • Remove animations from animated SVGs.

Removing animations from SVGs is very helpful if you want to use icons in design tools. Currently, all design tools do not support animated SVGs, importing animated icon usually results in broken or empty icon.

By removing animation for design tool, you can use static icon in your design, but animated icon in HTML.

Quick demo:

Iconify Icon 2.0.0 4 Feb

Iconify Icon web component version 2.0.0 has been published.

See Iconify Icon 2.0.0 beta announcement that was published earlier for the list of changes.

Deprecation of old packages

Time has come to deprecate some old packages, which are no longer relevant:

These old icon components are no longer updated, their source code has been archived:

  • Vue 2 (Vue 3 was released a long time ago, no point in supporting the old version)
  • Ember (Ember framework is outdated)
  • SVG Framework (the oldest of components, has been replaced by the IconifyIcon web component)

You can still use them in your old projects, but should consider updating to modern alternatives, such as web component.

Customise speed of animated SVGs 3 Feb

Iconify icon sets website has been updated.

You can now change the animation speed of animated SVGs.

It is not a full editor (yet), you can only multiply animation duration values to slow down animations or speed them up.

You can use it with any animated icon, such as icons from:

Quick demo:

Iconify Icon 2.0.0-beta.1 29 Jan

Iconify Icon web component version 2.0.0 beta 1 has been published.

This release offers massive improvements in SVG performance: it uses IntersectionObserver to check if icon is visible to the current visitor, rendering icon only when visible.

As a nice side effect, icons that have fade in animation start animating when it appears in viewport.

New version is used on this website and new Iconify icon sets website.

To install beta version, use @next tag:

npm install --save iconify-icon@next

New "observe" property

You can change observer behavior by changing observe attribute.

By default, it is enabled. To disable it, set observe to "false".

html<iconify-icon icon="mdi:home" observe="false"></iconify-icon>

In an instance of IconifyIconHTMLElementClass you can use observe property to set/get boolean value.

New website for browsing icons 28 Jan

After many months of hard work, Iconify icon sets website has been fully rebuilt.

New icon sets website is now live. It is now powered by Nuxt!

What is new?

  • Advanced filters for icon sets.
  • Infinite smart scrolling for icons, showing as many icons as can fit in your browser window.
  • Better code samples for icons in various formats.
  • You can customise all colors in icons. If an icon has semi-transparent elements, you can customise opacity.
  • Dark/light mode, which is useful when browsing icons with hardcoded colors.

More details and screenshots:

Main page

Infinite smart scrolling for icons

When browsing any icon set or searching for icons, icons take all available browser space. To show more or less icons, all you have to do is resize your browser window.

You no longer need to click pagination to see more icons, all you have to do is scroll. However, pagination is still available if you, for example, want to quickly go to the last page.

Main page

Icon hints

When browsing search results, icon have useful hints, showing icon size and icon set license.

Main page

License is not shown when browsing an icon set, it is available above icons in icon set information.

You can now filter icon sets by license, grid, palette.

If you filter icon sets, search has an option to search icons only in icon sets that are visible.

Main page

Better code samples

Code samples for icon have been improved.

You can now copy or download code samples for many formats and packages.

Main page

Iconify icon components

Old website showed samples for Iconify icon components, new website focuses on full components that you can add to your applications without extra dependencies.

While Iconify icon components are very convenient, they load icon data from API, which costs a lot of money to run, which currently GitHub sponsorships do not cover. Not even close. Therefore, it is better to encourage use of alternative solutions that do not rely on API.

Additionally, if you customise icon, such as change opacity or hardcoded color, Iconify icon components do not have code to do that on demand.

Code samples for Iconify icon components are also still available.

Customise colors and opacity

You can now have more options for customising icon code:

  • You can change any color in any icon, not only currentColor.
  • Opacity in icons that have transparent elements.

Main page

Copy icon name

If all you need is icon name to use in your project, for example, for Iconify icon component or for class name in UnoCSS or Tailwind CSS, you can now choose format of icon name.

Button to copy icon name to clipboard is next to icon name dropdown.

Main page

All changes are stored in browser storage, so you do not need to change settings more than once.

Designed for the future

The best part about the new rebuild is, new code is fully reusable.

This code base will be used to:

  • Update Iconify plugin for Figma.
  • Create new plugins for various design and development software.

Released under the Apache 2.0 License.