codecalm e54656d27e Release 3.22.0 1 week ago
..
src 7d1f101f00 Generate dynamic imports for icons-react (#1081) 1 month ago
.gitignore 7d1f101f00 Generate dynamic imports for icons-react (#1081) 1 month ago
README.md 32418e8e41 Fix og image for sprite package in README (#1020) 8 months ago
build.mjs 7d1f101f00 Generate dynamic imports for icons-react (#1081) 1 month ago
package.json e54656d27e Release 3.22.0 1 week ago
rollup.config.mjs ceed535efb Import fixes (#1039) 8 months ago
setupVitest.js b54c86433e Tabler Icons 3.0 (#993) 8 months ago
test.spec.tsx c898ade0f0 Add title to icon's <svg> as child tag in React, Vue.js and React Native (#1147) 5 months ago
tsconfig.json 14b334f31b Types fixes (#1037) 8 months ago
vitest.config.ts b54c86433e Tabler Icons 3.0 (#993) 8 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