@tillpos/react-native-unicons
v1.0.5
Published
Unicons - 1000+ vector icons as easy to use vector React Native Components
Downloads
25
Readme
React Native Unicons
1000+ Pixel-perfect vector icons as React Native Components. These icons are designed by Iconscout.
Prerequisites
This library uses react-native-svg to render svg icons. Therefore this library needs to be installed & linked into your project to work.
You can install it by:
npm install --save react-native-svg
react-native link react-native-svg
Facing issues? Click here to link it manually.
Getting Started
You can easily install react-native-unicons using npm.
npm install --save @iconscout/react-native-unicons
Usage
Use individual icons
import UilReact from '@iconscout/react-native-unicons/icons/uil-react'
const App = () => {
return <UilReact size="140" color="#61DAFB" />
};
export default App;
You can customize icons as below:
<Unicons.UilReact size="140" color="#61DAFB" />
Usage as full Package
import * as Unicons from '@iconscout/react-native-unicons';
const App = () => {
return <Unicons.UilReact />
};
export default App;
More ways
Contributing
We will be happy to have community support for Unicons. Feel free to fork and create pull requests. We have given a small roadmap above so that you can help us build these features.
Icon Requests
We've created a thread at Iconscout Community where you can request for new icons. And we'll be happy to design them in upcoming weeks.
License
Unicons are Open Source icons and licensed under Apache 2.0. You're free to use these icons in your personal and commercial project. We would love to see the attribution in your app's about screen, but it's not mandatory.
React Native Unicons by <a href="https://iconscout.com/">Iconscout</a>