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.
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
After installing the package, you can import Tabler Icons as React Native components like this:
import { IconActivity } from "tabler-icons-react-native";
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;
Every icon component accepts the following props:
Prop | Default |
---|---|
size |
24 |
stroke |
2 |
color |
'#232e46' |
This project is licensed under the MIT License.