Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steps to add new icon library #1378

Open
Qu4k3 opened this issue Sep 16, 2021 · 3 comments
Open

Steps to add new icon library #1378

Qu4k3 opened this issue Sep 16, 2021 · 3 comments

Comments

@Qu4k3
Copy link

Qu4k3 commented Sep 16, 2021

I'm looking to include https://lucide.dev/ icon library to the repo.

I find the barrier that I do not see clear the steps to follow.

When cloning the repository, I have an error after executing npm install on Windows with Git Bash Terminal.

> react-native-vector-icons@8.1.0 build-flow
> ./scripts/build-flow.sh

"." no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
npm ERR! code 1
npm ERR! path C:\Sites\react-native-vector-icons
npm ERR! command failed
@nandorojo
Copy link

Similarly, I'd like to add Radix icons: https://icons.modulz.app/

@Dimous
Copy link

Dimous commented Oct 24, 2021

  1. download desired icon-font file and put it to Fonts folder
  2. put https://github.com/Dimous/react-native-vector-icons/blob/master/Fonts/index.js and https://github.com/Dimous/react-native-vector-icons/blob/master/Fonts/package.json to Fonts folder and run npm install, then run node index.js
  3. create [IconFontName].js file based on https://github.com/Dimous/react-native-vector-icons/blob/master/templates/separated-icon-set.tpl like I did with RemixIcon -- https://github.com/Dimous/react-native-vector-icons/blob/master/RemixIcon.js

Script will regenerate glyphmaps with names used in a font file but @oblador used names from other sources so you have to change icon names used in your application

@oidoug
Copy link

oidoug commented Oct 18, 2022

@Qu4k3 had any luck adding Lucide?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants