Gathering detailed insights and metrics for @expo-google-fonts/asset
Gathering detailed insights and metrics for @expo-google-fonts/asset
Gathering detailed insights and metrics for @expo-google-fonts/asset
Gathering detailed insights and metrics for @expo-google-fonts/asset
Use any of the 1000+ fonts (and their variants) from fonts.google.com in your Expo app.
npm install @expo-google-fonts/asset
Typescript
Module System
Node Version
NPM Version
JavaScript (98.83%)
TypeScript (1.12%)
EJS (0.04%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
864 Stars
173 Commits
73 Forks
12 Watchers
3 Branches
24 Contributors
Updated on Jul 06, 2025
Latest Version
0.4.0
Package Id
@expo-google-fonts/asset@0.4.0
Unpacked Size
367.17 kB
Size
249.77 kB
File Count
14
NPM Version
10.8.2
Node Version
20.19.1
Published on
May 27, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
No dependencies detected.
This package lets you use the Asset font family from Google Fonts in your Expo app.
This font family contains 1 styles.
Asset_400Regular
Run this command from the shell in the root directory of your Expo project to add the font family package to your project
1npx expo install @expo-google-fonts/asset expo-font
Now add code like this to your project
1import { Text, View } from "react-native"; 2import { useFonts } from '@expo-google-fonts/asset/useFonts'; 3import { Asset_400Regular } from '@expo-google-fonts/asset/400Regular'; 4 5export default () => { 6 7 let [fontsLoaded] = useFonts({ 8 Asset_400Regular 9 }); 10 11 let fontSize = 24; 12 let paddingVertical = 6; 13 14 if (!fontsLoaded) { 15 return null; 16 } else { 17 return ( 18 <View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}> 19 <Text style={{ 20 fontSize, 21 paddingVertical, 22 // Note the quoting of the value for `fontFamily` here; it expects a string! 23 fontFamily: "Asset_400Regular" 24 }}> 25 Asset Regular 26 </Text> 27 </View> 28 ); 29 } 30};
![]() |
If you are trying out lots of different fonts, you can try using the @expo-google-fonts/dev
package.
You can import any font style from any Expo Google Fonts package from it. It will load the fonts over the network at runtime instead of adding the asset as a file to your project, so it may take longer for your app to get to interactivity at startup, but it is extremely convenient for playing around with any style that you want.
The @expo-google-fonts/asset
package and its code are released under the MIT license.
All the fonts in the Google Fonts catalog are free and open source.
Check the Asset page on Google Fonts for the specific license of this font family.
You can use these fonts freely in your products & projects - print or digital, commercial or otherwise. However, you can't sell the fonts on their own. This isn't legal advice, please consider consulting a lawyer and see the full license for all details.
@expo-google-fonts/dev
Devlopment PackageContributions are very welcome! This entire directory, including what you are reading now, was generated from code. Instead of submitting PRs to this directly, please make contributions to the generator instead.
No vulnerabilities found.
Reason
27 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
no binaries found in the repo
Reason
1 existing vulnerabilities detected
Details
Reason
Found 11/13 approved changesets -- score normalized to 8
Reason
branch protection is not maximal on development and all release branches
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More