/tabler-icons-react-native

🎨 Tabler Icons for React Native

Primary LanguageJavaScriptMIT LicenseMIT

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.

Browse at tabler-icons.io →

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.