Skip to content

Create a REST API with icons used in the react-icons repository

License

Notifications You must be signed in to change notification settings

creatorem/icons-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Icons REST API

REST API of svg icons. Icons are scraped from the react-icons project and the Material UI icons library.

Icons

Icon Library License Version Count
Mui icons MIT 5.11.12 10554
Circum Icons MPL-2.0 license a2924cb1ee37b9fa39ef023a36f1c884b3492e9b 285
Font Awesome CC BY 4.0 License 5.15.4 1612
Ionicons 4 MIT 4.6.3 696
Ionicons 5 MIT 5.5.0 1332
Material Design icons Apache License Version 2.0 4.0.0-61-g511eea577b 4341
Typicons CC BY-SA 3.0 2.1.2 336
Github Octicons icons MIT 8.5.0 184
Feather MIT 4.28.0 286
Game Icons CC BY 3.0 12920d6565588f0512542a3cb0cdfd36a497f910 4040
Weather Icons SIL OFL 1.1 2.0.12 219
Devicons MIT 1.8.0 192
Ant Design Icons MIT 4.2.1 789
Bootstrap Icons MIT 1.5.0 1846
Remix Icon Apache License Version 2.0 2.5.0 2271
Flat Color Icons MIT 1.0.2 329
Grommet-Icons Apache License Version 2.0 4.6.2 615
Heroicons MIT 1.0.4 460
Heroicons 2 MIT 2.0.8 530
Simple Icons CC0 1.0 Universal 5.16.0 2024
Simple Line Icons MIT 2.5.5 189
IcoMoon Free CC BY 4.0 License d006795ede82361e1bac1ee76f215cf1dc51e4ca 491
BoxIcons CC BY 4.0 License 2.0.9 757
css.gg MIT 2.0.0 704
VS Code Icons CC BY 4.0 0.0.23 383
Tabler Icons MIT 1.68.0 1978
Themify Icons MIT v0.1.2 352
Radix Icons MIT @radix-ui/[email protected] 318

Endpoints

The lib parameter can take the following values :

  • ai : Ant Design Icons
  • bi : BoxIcons
  • bs : Bootstrap Icons
  • cg : css.gg
  • ci : Circum Icons
  • di : Devicons
  • fa : Font Awesome 5
  • fc : Flat Color Icons
  • fi : Feather
  • gi : Game Icons
  • go : Github Octicons icons
  • gr : Grommet-Icons
  • hi : Heroicons
  • hi2 : Heroicons 2
  • im : IcoMoon Free
  • io : Ionicons 4
  • io5 : Ionicons 5
  • md : Material Design Icons
  • mui : Mui Icons
  • ri : Remix Icon
  • rx : Radix Icons
  • si : Simple Icons
  • sl : Simple Line Icons
  • tb : Tabler Icons
  • tfi : Themify Icons
  • ti : Typicons
  • vsc : VS Code Icons
  • wi : Weather Icons

The name parameter represents the name of an icon.

Sorted API This endpoints provide icons grouped with their variants.

  • /api/v1/sorted/:lib
  • /api/v1/sorted/:lib/:name

Raw API This endpoints provide to single icons.

  • /api/v1/all/:lib
  • /api/v1/all/:lib/:name

This endpoints provide variants of a library.

  • /api/v1/variants/:lib

Todo

  • Add link to lib in the rest api.
  • Check security reflexes.

Licence

MIT

  • Icons are taken from the other projects so please check each project licences accordingly.

About

Create a REST API with icons used in the react-icons repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published