Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

tabler-icons-react-native

50UM3N1.5kMIT3.1.0TypeScript support: included

Tabler icons

icons, svg, png, iconfont, react, react-native, react-native-icons, react-native-icon, tabler-icons

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.

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.