Available icon sets list

Small icon set packages contain only one icon set. How to know which icon sets are available?

List of icon sets is available in @iconify/collections package.

Package contains collections.json with list of all icon sets, same as collections.json in @iconify/json package.


Contents of collections.json is an object, where key is icon set prefix, value is icon set information in IconifyInfo format.


You can import collections list directly from @iconify/collections/collections.json as default import or use named import:

import { collections } from '@iconify/collections';

Code above uses JSON modules. It works fine when using bundlers or when using CommonJS. When using ES modules, importing JSON files requires running script with "--experimental-json-modules" flag.

Alternative is to use require():

const collections = require('@iconify/collections/collections.json');