npm.io
4.7.0 • Published 7 months ago

react-native-remix-icon

Licence
MIT
Version
4.7.0
Deps
0
Size
1.9 MB
Vulns
0
Weekly
0
Stars
41

React Native Remix Icon

React native implementation for the popular RemixIcon open source library.

Install

Using yarn

yarn add react-native-remix-icon

Using npm

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,

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" fallback={null}>
Props
Prop Default Description
name remixicon-fill Name of the icon. Explore the remixicon library for all valid icon names
size 24 Size of the icon
color black Color of the icon
fallback <Text>Invalid Icon Name</Text> Fallback component when invalid name is provided. null value will not display anything
Version Alignment

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.


Buy me a coffee

"Buy Me A Coffee"