Iconify icon sets

All icon sets available with Iconify API are available for developers to use with their own tools and projects.

Iconify is designed to be used with any icons. To make things easier, Iconify offers collection of the most popular icon sets as a package. There are over 80,000 icons from more than 90 icon sets.

Licences

All icon sets available in Iconify collections are released under free or open source licence, which allows redistribution. See each icon set's information block for details.

Sources

You can get the latest version of icon sets from the following sources:

Files

Icon sets package contains the following files:

  • collections.json contains list of available icon sets. It is a simple object, where key is prefix, value is information about icon set in IconifyInfo format.
  • collections.md contains the same information as collections.json, but in easily readable format.
  • json/ directory contains JSON files for each icon set in IconifyJSON format.
  • lib/ directory contains simple helper functions for PHP and Node.js. See below.

Maintenance

Package is automatically updated every few days, so it always includes the latest icons. If you want to use the latest icons, all you have to do is keep dependencies in your project up to date.

If you are using Iconify API, you do not need to do anything because changes are automatically pushed to API servers within minutes after being published.

Reading data

For reading icon sets, you can use Iconify JSON Tools.

Library is available for Node.js and PHP.

Helper functions

Package contains simple helper functions for Node.js and PHP:

  • collections() returns list of collections. It is a simple object, where key is prefix, value is information about icon set in IconifyInfo format.
  • locate(prefix) returns location of JSON file for an icon set.

Example:

Node.js
// Installation: npm install --save @iconify/json
const icons = require('@iconify/json');

// Get list of all icon sets
const iconSets = icons.collections();
const prefixes = Object.keys(iconSets);
console.log(`Available ${prefixes.length} icon sets`);

// List icon sets in format: "prefix: name (total icons)"
console.log(
   prefixes
       .map((prefix) => {
           const item = iconSets[prefix];
           // prefix: name (total icons)
           return prefix + ': ' + item.name + ' (' + item.total + ' icons)';
       })
       .join('\n')
);

// Get location of Taber Icons JSON file
const tabler = icons.locate('tabler');
console.log('Tabler icons JSON file is located at:', tabler);
PHP
<?php
require './vendor/autoload.php';

// Installation: composer require iconify/json
use Iconify\IconsJSON\Finder;

// Get list of all icon sets
$iconSets = Finder::collections();
$prefixes = array_keys($iconSets);
echo 'Available ', count($prefixes), " icon sets\n";

// List icon sets in format: "prefix: name (total icons)"
echo implode("\n", array_map(function ($prefix) use ($iconSets) {
   $item = $iconSets[$prefix];
   return $prefix . ': ' . $item['name'] . ' (' . $item['total'] . ' icons)';
}, $prefixes)), "\n";

// Get location of Taber Icons JSON file
$tabler = Finder::locate('tabler');
echo 'Tabler icons JSON file is located at: ', $tabler, "\n";

These helper functions only list and locate icon sets. For reading icon sets, you can use Iconify JSON Tools.

Adding icon sets

Do you know a good open source icon set that is missing in Iconify icon sets? Open an issue on GitHub to request to add it to Iconify icon sets.