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
Before exporting icons, make sure you clean them up and optimise.
There are several functions for exporting icons:
See exporting Iconify icon set documentation.
See exporting icons as SVG documentation.
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.