tabler-icons-react-native
v3.1.0
Published
Tabler icons
Downloads
1,436
Maintainers
Readme
Tabler Icons React Native
Tabler Icons React Native is a library of React Native components that provide access to Tabler Icons — a collection of over 2200 open-sourced, MIT-licensed icons.
Installation
The package is available via npm and can be installed using npm
or yarn
:
# npm
npm install tabler-icons-react-native
# yarn
yarn add tabler-icons-react-native
Usage
After installing the package, you can import Tabler Icons as React Native components like this:
import { IconActivity } from "tabler-icons-react-native";
Example
import React from 'react';
import { View } from 'react-native';
import { IconActivity } from 'tabler-icons-react-native';
const Example = () => {
return (
<View>
<IconActivity size={48} color="red" />
</View>
);
}
export default Example;
Documentation
Every icon component accepts the following props:
| Prop | Default |
| ------- | ----------: |
| size
| 24
|
| stroke
| 2
|
| color
| '#232e46'
|
License
This project is licensed under the MIT License.