npm.io
13.1.2 • Published 1 month ago

@react-native-vector-icons/fontawesome

Licence
MIT
Version
13.1.2
Deps
1
Size
275 kB
Vulns
0
Weekly
0
Stars
17.9K

React Native Vector Icons - Fontawesome

Fontawesome font for React Native Vector Icons

See the React Native Vector Icons README for more details.

Installation

npm install @react-native-vector-icons/fontawesome

Usage

import { FontAwesome } from '@react-native-vector-icons/fontawesome/static';
// or with dynamic font loading (see the Expo setup guide for details)
import { FontAwesome } from '@react-native-vector-icons/fontawesome';

// ...

<FontAwesome name="house" color="#ff0000" size={20} />
Expo Config Plugin

This package ships an Expo config plugin. Add it to the plugins array in your app.json or app.config.js if you use static imports:

{
  "expo": {
    "plugins": ["@react-native-vector-icons/fontawesome"]
  }
}

Versions

Prior to version 12, the version of this font package tracked the upstream version.

The table below tracks which font version is included in each package version.

RNVI version Upstream version
> 12.0.0 4.7.0

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Keywords