Remix Icon for React Native
npm install react-native-remix-icon
React native implementation for the popular RemixIcon open source library.
Using yarn
``bash`
yarn add react-native-remix-icon
Using npm
`bash`
npm install react-native-remix-icon
This library relies on the react-native-svg package to render svg icons. Install the react-native-svg package,
`bash`
yarn add react-native-svg
or
`bash`
npm install react-native-svg
`javascript`
import Icon from "react-native-remix-icon";
`javascript`
| Prop | Default | Description |
| ----- | ---------------- | ------------------------------------------------------------------------------------------------- |
| name | remixicon-fill | Name of the icon. Explore the remixicon library for all valid icon names |24
| size | | Size of the icon |black
| color | | Color of the icon |
| fallback | | Fallback component when invalid name is provided. null value will not display anything |
The version of react-native-remix-icon is aligned with the original RemixIcon package. For example, version 4.5.0 of react-native-remix-icon contains all the icons from version 4.5.0` of the RemixIcon library.
-----------