migliori / universal-icon-picker

Vanilla JS Icon Picker for any Icon Library
https://universal-icon-picker.miglisoft.com
MIT License
78 stars 9 forks source link

Custom Library Creation #4

Closed cmlnrowan closed 1 year ago

cmlnrowan commented 1 year ago

Spectacular work! Simple and elegant.

I am looking for an icon picker for a custom collection of svg's.

Is it possible to accomplish this with your package?

migliori commented 1 year ago

Thanks for your comment.

Yes, it'll be easy, here's how I'd proceed:

  1. Go to Icomoon and open the app
  2. Import your svg icons into the app and select them
  3. click the preferences and choose your prefered font name and prefix
  4. generate your icon font
  5. Add your font files into universal-icon-picker/assets/fonts/
  6. Add your icons stylesheet into universal-icon-picker/assets/stylesheets/
  7. Create a new json file for your font in universal-icon-picker/assets/icons-libraries/ (Use the same structure as in the thoers json files in this folder)

I should add a tiny documentation for this, will do it as soon as I can free some time.