question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with custom icons using fontello

See original GitHub issue

I’m trying to setup a custom font with Fontello, and I couldn’t make it work. I found the readme section for it confusing specially this section :

Don't forget to import the font as described above

I’ve downloaded the files including config.json from Fontello and wrote this :

import { createIconSetFromFontello } from 'react-native-vector-icons';
import fontelloConfig from '../../../data/icons/config.json';
const MyIcon = createIconSetFromFontello(fontelloConfig, 'mobile-icons');

<MyIcon name="my-notifications" color="black" />

adding the 'mobile-icons' didn’t work, it says

Unrecognized font familly 'mobile-icons'

even though I have the correct font familly in config.json and in the css files associated.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
obladorcommented, Aug 21, 2016

Read under the Installation title.

1reaction
obladorcommented, Aug 12, 2016

It’s the front page of this project?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fontello Icon Font issues - Support - Kriesi.at
I successfully uploaded a new icon font that consisted of 3 icons using the tutorial here:
Read more >
Developers - Problem with custom icons using fontello -
I'm trying to setup a custom font with Fontello, and I couldn't make it work. I found the readme section for it confusing...
Read more >
Custom icons not displaying correctly - WordPress.org
Set up custom icon set using both Fontello and Icomoon. – Icon set was generated without issue on both platforms – Icon set...
Read more >
Elementor custom icons not displayed - Stack Overflow
Whenever you are using fontello to create icon sets you need to set a unique name set for it, or it will cause...
Read more >
Custom Icon Font Sets for Everyone and Why You Might Want ...
First I'll tackle the above question. I will write about this in a ... fontello's easy to use UI with icons selected and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found