Gathering detailed insights and metrics for @expo/vector-icons
Gathering detailed insights and metrics for @expo/vector-icons
Gathering detailed insights and metrics for @expo/vector-icons
Gathering detailed insights and metrics for @expo/vector-icons
npm install @expo/vector-icons
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
670 Stars
216 Commits
115 Forks
12 Watching
13 Branches
39 Contributors
Updated on 27 Nov 2024
JavaScript (60.88%)
TypeScript (39.12%)
Cumulative downloads
Total Downloads
Last day
-6.7%
138,214
Compared to previous day
Last week
-2.3%
796,075
Compared to previous week
Last month
6.5%
3,380,344
Compared to previous month
Last year
61.2%
28,637,370
Compared to previous year
1
This library is a compatibility layer around @oblador/react-native-vector-icons to work with the Expo asset system. If you're using React Native without Expo, you have no need for this library -- carry on! (or maybe check out Expo).
👀: this library does not provide access to react-native-vector-icon's
Icon.getImageSource()
function for generating images from icons at runtime (for context on why, see this issue). If you find yourself needing an icon in the form of an image rather than text, you should generate that image yourself and bundle it with your app.
This library is part of the expo
package, so if you are using expo
you can simply use it like so
1import React from 'react'; 2import Ionicons from '@expo/vector-icons/Ionicons'; 3 4export default class IconExample extends React.Component { 5 render() { 6 return <Ionicons name='md-checkmark-circle' size={32} color='green' />; 7 } 8}
for more usage see Expo icons documentation
I'll be honest with you, it's not straightforward. You should set aside about an hour to do this.
src/vendor/react-native-vector-icons
, except the dotfiles.git status
and look at the untracked files. Remove anything that doesn't seem needed. For example, remove package.json, react-native.config.js, react-native.osx.js. Things to look out for are new icon fonts or new create-*
files.git diff **/*.js
- do any of the changes look like they should be synced over to the equivalent .ts
files in src
?/@expo/vector-icons
internals are different enough that you don't need to worry about it.bin
scripts, in which case we need them.yarn
when you're done and it'll copy vendor files over to build.@expo/vector-icons
version to "../"
(TODO: investigate this quirk!). If new icons were added, ensure that they work here.Create a commit on master.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
Reason
Found 7/19 approved changesets -- score normalized to 3
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
41 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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