React Native Remix Icon
React native implementation for the popular RemixIcon open source library.
Install
Using yarn
yarn add @zh5/react-native-remix-icon
Using npm
npm install @zh5/react-native-remix-icon
This library relies on the react-native-svg
package to render svg icons. Install the react-native-svg
package,
yarn add react-native-svg
or
npm install react-native-svg
Usage
import Icon from 'react-native-remix-icon';
<Icon name="home-fill" size="48" color="red">
Props
Prop | Default | Description |
---|---|---|
name | remixicon-fill |
Name of the icon. Explore theremixicon library for all valid icon names |
size | 24 |
Size of the icon |
color | black |
Color of the icon |