tabler-icons/packages/icons-react
m.e. dffc9d87f9
Reduce the size of ts bundle (#1359)
2025-05-16 15:54:24 +02:00
..
src Generate dynamic imports for icons-react (#1081) 2024-09-27 22:09:40 +02:00
.gitignore Generate dynamic imports for icons-react (#1081) 2024-09-27 22:09:40 +02:00
README.md Update sponsors' image for packages 2025-01-27 18:16:31 +01:00
build.mjs Generate dynamic imports for icons-react (#1081) 2024-09-27 22:09:40 +02:00
package.json Release 3.31.0 2025-03-05 00:33:49 +01:00
rollup.config.mjs Reduce the size of ts bundle (#1359) 2025-05-16 15:54:24 +02:00
setupVitest.js Tabler Icons 3.0 (#993) 2024-02-27 00:16:23 +00:00
test.spec.tsx Add title to icon's <svg> as child tag in React, Vue.js and React Native (#1147) 2024-06-13 22:08:44 +02:00
tsconfig.json Types fixes (#1037) 2024-03-12 00:15:40 +01:00
vitest.config.ts Tabler Icons 3.0 (#993) 2024-02-27 00:16:23 +00:00

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 :)

Tabler sponsors

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