Iconify Tools can export icons to several formats.
All functions listed below work with or by using one of import functions.instances. You need to create instance using
Cleanup and optimisation
Before exporting icons, make sure you clean them up and optimise.
There are several functions for exporting icons:
Exporting Iconify icon set
See exporting Iconify icon set documentation.
Exporting SVG (simplified version)
Exporting as SVG
See exporting icons as SVG documentation.
Exporting NPM packages
There are different types of icon packages published at NPM, there are functions for exporting each type:
- Function creates NPM package with one file per icon. This is used when user needs only only few icons.
- Function creates NPM package with entire icon set in one file. This is used to get an entire icon set.
Functions do not publish packages, they only generate contents. Run npm publish to publish generated packages.