codecalm e7e3195075 Release 3.0.0-beta 4 months ago
..
src de1987b868 separate icons to `filled` and `outline` directories (#1002) 4 months ago
.gitignore a60a6e4b3a build files remove (#1000) 4 months ago
README.md 25cda0db68 fix: `stroke` prop no longer works after 2.0 update (#470) 1 year ago
build.mjs de1987b868 separate icons to `filled` and `outline` directories (#1002) 4 months ago
package.json e7e3195075 Release 3.0.0-beta 4 months ago
rollup.config.mjs 0a955dcc11 rollup plugins fix 5 months ago
setupVitest.js fc3c0900ec add unit tests 6 months ago
test.spec.jsx 6a9f04c0b1 build fixes 6 months ago
tsconfig.json b4cc0d8dff react components 6 months ago
vitest.config.ts fc3c0900ec add unit tests 6 months ago

README.md

Tabler Icons for React

Tabler Icons

Implementation of the Tabler Icons library for React applications.

Browse all icons at tabler-icons.io →

Latest Release License

Sponsors

If you want to support my project and help me grow it, you can become a sponsor on GitHub or just donate on PayPal :)

Installation

yarn add @tabler/icons-react

or

npm install @tabler/icons-react

or

pnpm install @tabler/icons-react

or just download from Github.

How to use

It's build with ESmodules so it's completely tree-shakable. Each icon can be imported as a component.

import { IconArrowLeft } from '@tabler/icons-react';

const App = () => {
  return <IconArrowLeft />;
};

export default App;

You can pass additional props to adjust the icon.

<IconArrowLeft color="red" size={48} />

Props

name type default
size Number 24
color String currentColor
stroke Number 2

Contributing

For more info on how to contribute please see the contribution guidelines.

Caught a mistake or want to contribute to the documentation? Edit this page on Github

License

Tabler Icons is licensed under the MIT License.

Sponsor Tabler

Sponsor Tabler