Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Icon components for React

This repository contains icon components for React for all 222 icon sets available on Iconify.

Each icon set is published in a separate branch of this repository, see list of branches below.

⚠️ This is an alternative repository. Main repository has moved to GitLab.

Why not NPM ???

Due to NPM issues, these packages cannot be published to NPM.

Large package.json

Each package exports many icons, some have tens of thousands of exports.

Dumping so many files to a root directory is not feasible. It leads to installation errors on some file systems, usually on Windows.

Alternative is to split components into multiple sub-directories and add exports field to package.json, which is how these packages are generated.

That leads to large package.json files, which works without issues with all modern tools.

NPM issue

NPM stores metadata for each published package in a single file. That includes entire contents of package.json, including exports field, for all versions of that package.

When a package has many versions, each with large exports field, that quickly leads to massive metadata.

NPM has a limit of 100mb per package. When that limit is hit, NPM prevents new versions from being published, while also preventing developer from unpublishing old versions of that package.

Unfortunately, a couple of packages have reached that limit, which prevented packages from being updated on NPM.

Solution

So new versions of some packages cannot be published, old versions cannot be unpublished. It is a mess that cannot be solved on NPM.

The only solution is to move off NPM.

This is why these packages are published to Git repository instead of NPM.

NPM client can install packages from a branch of a Git repository, where it retrieves metadata only for the latest commit in a branch, so no more huge metadata regardless of how many versions have been published.

Each icon set is published in a separate branch of this repository, which makes it easy to maintain many icon sets without creating multiple repositories. Also you can see what has changed in each update in commit diffs.

Installation

npm install gitlab:iconify-icons/react#{prefix}

or

npm install github:iconify/icons-react#{prefix}

where {prefix} is icon set prefix.

For example, for mdi icon set, installation command is:

npm install gitlab:iconify-icons/react#mdi

or

npm install github:iconify/icons-react#mdi

Usage

For full documentation visit Iconify website.

Additionally you can find usage examples in README.md files in each branch of this repository.

Icon sets

There are 222 branches in this repository, one for each icon set.

Material

  • #material-symbols: Material Symbols (15717 icons, Apache 2.0)
  • #material-symbols-light: Material Symbols Light (15782 icons, Apache 2.0)
  • #ic: Google Material Icons (10955 icons, Apache 2.0)
  • #mdi: Material Design Icons (7447 icons, Apache 2.0)
  • #mdi-light: Material Design Light (284 icons, Open Font License)
  • #line-md: Material Line Icons (1218 icons, MIT)

UI 24px

UI 16px / 32px

  • #carbon: Carbon (2618 icons, Apache 2.0)
  • #ion: IonIcons (1357 icons, MIT)
  • #famicons: Famicons (1342 icons, MIT)
  • #ant-design: Ant Design Icons (848 icons, MIT)
  • #lsicon: Lsicon (716 icons, MIT)
  • #gravity-ui: Gravity UI Icons (799 icons, MIT)
  • #cil: CoreUI Free (554 icons, CC BY 4.0)
  • #at-icons: @icons (618 icons, MIT)
  • #ep: Element Plus (293 icons, MIT)
  • #charm: Charm Icons (261 icons, MIT)
  • #quill: Quill Icons (140 icons, MIT)
  • #bytesize: Bytesize Icons (101 icons, MIT)
  • #bi: Bootstrap Icons (2078 icons, MIT)
  • #streamline-pixel: Pixel free icons (662 icons, CC BY 4.0)
  • #streamline-block: Streamline Block (300 icons, CC BY 4.0)
  • #rivet-icons: Rivet Icons (210 icons, BSD 3-Clause)
  • #nimbus: Nimbus (140 icons, MIT)
  • #formkit: FormKit Icons (144 icons, MIT)

UI Other / Mixed Grid

UI Multicolor

Programming

Logos

Emoji

Flags / Maps

  • #circle-flags: Circle Flags (439 icons, MIT)
  • #flag: Flag Icons (542 icons, MIT)
  • #flagpack: Flagpack (254 icons, MIT)
  • #cif: CoreUI Flags (199 icons, CC0 1.0)
  • #pinhead: Pinhead Map Icons (2726 icons, CC0)
  • #roentgen: Röntgen (574 icons, CC BY 4.0)
  • #maki: Maki (215 icons, CC0)
  • #temaki: Temaki (557 icons, CC0)
  • #gis: Font-GIS (367 icons, CC BY 4.0)
  • #map: Map Icons (167 icons, Open Font License)
  • #geo: GeoGlyphs (30 icons, MIT)
  • #osmic: OSM Icons (169 icons, CC0 1.0)

Thematic

  • #game-icons: Game Icons (4133 icons, CC BY 3.0)
  • #fad: FontAudio (155 icons, CC BY 4.0)
  • #academicons: Academicons (158 icons, Open Font License)
  • #wi: Weather Icons (219 icons, Open Font License)
  • #meteocons: Meteocons (447 icons, MIT)
  • #healthicons: Health Icons (2042 icons, MIT)
  • #medical-icon: Medical Icons (144 icons, MIT)
  • #covid: Covid Icons (142 icons, CC BY 4.0)
  • #ginetex: Ginetex Care Symbols (50 icons, MIT)

Archive / Unmaintained

  • #la: Line Awesome (1544 icons, Apache 2.0)
  • #eva: Eva Icons (490 icons, MIT)
  • #dashicons: Dashicons (342 icons, GPL)
  • #flat-color-icons: Flat Color Icons (329 icons, MIT)
  • #entypo: Entypo+ (321 icons, CC BY-SA 4.0)
  • #foundation: Foundation (283 icons, MIT)
  • #raphael: Raphael (266 icons, MIT)
  • #icons8: Icons8 Windows 10 Icons (234 icons, MIT)
  • #iwwa: Innowatio Font (105 icons, Apache 2.0)
  • #gala: Gala Icons (51 icons, GPL)
  • #heroicons-outline: HeroIcons v1 Outline (230 icons, MIT)
  • #heroicons-solid: HeroIcons v1 Solid (230 icons, MIT)
  • #fa6-solid: Font Awesome 6 Solid (1402 icons, CC BY 4.0)
  • #fa6-regular: Font Awesome 6 Regular (163 icons, CC BY 4.0)
  • #fa6-brands: Font Awesome 6 Brands (495 icons, CC BY 4.0)
  • #fa-solid: Font Awesome 5 Solid (1001 icons, CC BY 4.0)
  • #fa-regular: Font Awesome 5 Regular (151 icons, CC BY 4.0)
  • #fa-brands: Font Awesome 5 Brands (457 icons, CC BY 4.0)
  • #fa: Font Awesome 4 (678 icons, Open Font License)
  • #fluent-mdl2: Fluent UI MDL2 (1735 icons, MIT)
  • #fontisto: Fontisto (615 icons, MIT)
  • #icomoon-free: IcoMoon Free (491 icons, GPL)
  • #subway: Subway Icon Set (306 icons, CC BY 4.0)
  • #oi: Open Iconic (223 icons, MIT)
  • #wpf: Icons8 Windows 8 Icons (200 icons, MIT)
  • #simple-line-icons: Simple line icons (189 icons, MIT)
  • #et: Elegant (100 icons, GPL 3.0)
  • #el: Elusive Icons (304 icons, Open Font License)
  • #vaadin: Vaadin Icons (636 icons, Apache 2.0)
  • #grommet-icons: Grommet Icons (636 icons, Apache 2.0)

Total: 222 icon sets, 367859 icons.

About

200+ open source icon sets as React components

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Contributors