Iconify Tools code examples
Short examples
Code samples are included in documentation for various functions. Some are short, some are longer.
The following code samples are short, yet complete enough to be usable:
- importDirectory() documentation shows how to import all SVG files in a directory, clean them up, export as IconifyJSON.
- exportToDirectory() documentation shows how to export icon set as single SVG files.
- Import SVG files, clean them up, export as single SVG files.
Long examples
Several examples for specific icon sets: