tabler-icons/packages/icons-preact
codecalm 0094572ac2 Release 3.36.1 2026-01-01 21:03:15 +01:00
..
src Fix export name for Preact component in icons-preact module 2025-07-20 20:29:37 +02:00
.gitignore Generate icons list for build (#1050) 2024-03-14 00:35:33 +01:00
README.md Update sponsors' image for packages 2025-01-27 18:16:31 +01:00
build.mjs Improve build speed (#1382) 2025-07-21 01:43:11 +02:00
package.json Release 3.36.1 2026-01-01 21:03:15 +01:00
rollup.config.mjs Improve build speed (#1382) 2025-07-21 01:43:11 +02:00
setupVitest.js Tabler Icons 3.0 (#993) 2024-02-27 00:16:23 +00:00
test.spec.tsx build fix 2025-01-06 03:31:01 +01:00
tsconfig.json Enhance build-outline.mjs with progress tracking and parallel file copying for improved performance during SVG icon processing. Update tsconfig.json to include source files for better type checking. 2025-12-14 20:10:28 +01:00
vitest.config.mts Tabler Icons 3.0 (#993) 2024-02-27 00:16:23 +00:00

README.md

Tabler Icons for Preact

Tabler Icons

Implementation of the Tabler Icons library for Preact 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-preact

or

npm install @tabler/icons-preact

or

pnpm install @tabler/icons-preact

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 { IconArrowDown } from '@tabler/icons-preact';

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

export default App;

You can pass additional props to adjust the icon.

<IconArrowDown 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