All Projects β†’ atoami β†’ react-native-custom-fonts

atoami / react-native-custom-fonts

Licence: MIT license
React Native Custom Fonts πŸ“š

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-native-custom-fonts

Swash
Fonts in iOS made safe, expressive, and dynamic.
Stars: ✭ 73 (+284.21%)
Mutual labels:  font, fonts, custom-fonts
MultiFontViewKotlin-Android
MultiFontViewKotlin library can be used to select custom fonts for the view dynamically in your XML
Stars: ✭ 13 (-31.58%)
Mutual labels:  font, fonts, custom-fonts
Free Fonts
Free fonts available under the Apache license
Stars: ✭ 110 (+478.95%)
Mutual labels:  font, fonts
San Francisco Family
All the fonts in San Francisco family font, developed by Apple. Including new SF Camera font from iOS 13!
Stars: ✭ 141 (+642.11%)
Mutual labels:  font, fonts
sysfont
Golang identification and matching of system fonts
Stars: ✭ 29 (+52.63%)
Mutual labels:  font, fonts
Swifticonfont
Icons fonts for iOS (Font Awesome 5, Iconic, Ionicon, Octicon, Themify, MapIcon, MaterialIcon, Foundation 3, Elegant Icon, Captain Icon)
Stars: ✭ 1,094 (+5657.89%)
Mutual labels:  font, fonts
Linearicons
Linearicons is the highest quality set of line icons, matching with minimalist UI designs in iOS.
Stars: ✭ 64 (+236.84%)
Mutual labels:  font, fonts
Webfont
Awesome generator of webfont
Stars: ✭ 170 (+794.74%)
Mutual labels:  font, fonts
Fontsource
Self-host Open Source fonts in neatly bundled NPM packages.
Stars: ✭ 836 (+4300%)
Mutual labels:  font, fonts
Yrsa Rasa
Yrsa &Β Rasa: fonts for Latin and Gujarati
Stars: ✭ 200 (+952.63%)
Mutual labels:  font, fonts
Avfonts
AVFonts for change/swap fontname throughout app.
Stars: ✭ 200 (+952.63%)
Mutual labels:  font, fonts
Urbanist
Urbanist is a low-contrast, geometric sans-serif inspired by Modernist design and typography.
Stars: ✭ 374 (+1868.42%)
Mutual labels:  font, fonts
Iosevka-Mayukai
Font based on Iosevka Custom Build, with combination from Iosevka SS04 Menlo, SS07 Monaco, SS09 Source Code Pro, SS12 Ubuntu Mono, SS14 Jetbrains Mono, Hack Style, and some Nerd Font Patching.
Stars: ✭ 149 (+684.21%)
Mutual labels:  font, fonts
Open Relay
Free and open source fonts from Kreative Software
Stars: ✭ 48 (+152.63%)
Mutual labels:  font, fonts
Work Sans
A grotesque sans.
Stars: ✭ 1,319 (+6842.11%)
Mutual labels:  font, fonts
Opendyslexic Chrome
Offical OpenDyslexic chrome extension
Stars: ✭ 36 (+89.47%)
Mutual labels:  font, fonts
Inkwell
An inkwell to use custom fonts on the fly.
Stars: ✭ 146 (+668.42%)
Mutual labels:  font, fonts
FontRegister
FontRegister is a small Windows utility to install fonts and/or repair the font registry via commandline.
Stars: ✭ 17 (-10.53%)
Mutual labels:  font, fonts
Nerd Fonts
Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
Stars: ✭ 31,778 (+167152.63%)
Mutual labels:  font, fonts
Firasystemfontreplacement
Modified version of the Fira Sans fonts to replace the default system font on macOS
Stars: ✭ 730 (+3742.11%)
Mutual labels:  font, fonts

Available Fonts

  • HelveticaNeue-Bold
  • HelveticaNeue-Medium
  • Lato-Black
  • Roboto-Bold
  • Roboto-Light
  • Roboto-Medium
  • Roboto-Regular
  • SFProDisplay-Black
  • SFProDisplay-Bold
  • SFProDisplay-Heavy
  • SFProDisplay-Light
  • SFProDisplay-Medium
  • SFProDisplay-Regular
  • SFProDisplay-Semibold
  • SFProDisplay-Thin
  • SFProDisplay-Ultralight
  • SFProText-Bold
  • SFProText-Regular
  • SFProText-Semibold

How to use?

1. Add the following lines in your project's package.json.
"rnpm": {
    "assets": [
      "app/fonts" // Folder including all font files(otf, ttf, ...)
    ]
}
2. Add font files.

Add font files(otf, ttf, ...) in font assets folder.

3. Run the following command.
react-native link

This links all fonts(app/fonts in example) to iOS & Android projects.

4. Add font component.

Add font components(SFProDisplayMedium.js, ...) in your project.

5. Rebuild the project.

You must rebuild the project after add font files.

6. Now, you can use the fonts anywhere in your project.
import { SFProDisplayMedium } from '../SFProDisplayMedium.js';
...
<SFProDisplayMedium style={styles.fontStyle}>
  Text Here
</SFProDisplayMedium>

Demo

You can find demo here.

Welcome to Pull Request!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].