Tabler Icons for React
npm install tabler-icons-reactnpm or yarn:
sh
npm
npm install tabler-icons-react
yarn
yarn add tabler-icons-react
`
After installing the package you can import Tabler Icons as React components as follows:
`jsx
import { Activity } from 'tabler-icons-react';
`
Example
`jsx
import React from 'react';
import { Activity } from 'tabler-icons-react';
export default function Example() {
return (
);
}
`
Docs
Every icon component accepts following props:
| Prop | Default |
|-------|----------------:|
| size | 24 |
| color | 'currentColor'` |