@react-native-vector-icons/material-icons
v13.1.1
Published
Material Icons font for react native vector icons
Downloads
74,099
Readme
React Native Vector Icons - Material Icons
Material Icons font for React Native Vector Icons
See the React Native Vector Icons README for more details.
Installation
npm install @react-native-vector-icons/material-iconsUsage
import { MaterialIcons } from '@react-native-vector-icons/material-icons/static';
// or with dynamic font loading (see the Expo setup guide for details)
import { MaterialIcons } from '@react-native-vector-icons/material-icons';
// ...
<MaterialIcons 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/material-icons"]
}
}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 | 0.0.1 |
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
