codecalm 0a955dcc11 rollup plugins fix 10 месяцев назад
..
src 6d818d9f28 add icons aliases 10 месяцев назад
README.md 25cda0db68 fix: `stroke` prop no longer works after 2.0 update (#470) 1 год назад
build.mjs fbd67bad2e preact components 10 месяцев назад
package.json 99114f09e0 Release 3.0.0-alpha.0 10 месяцев назад
rollup.config.mjs 0a955dcc11 rollup plugins fix 10 месяцев назад
setupVitest.js fc3c0900ec add unit tests 10 месяцев назад
test.spec.jsx 6a9f04c0b1 build fixes 10 месяцев назад
tsconfig.json fbd67bad2e preact components 10 месяцев назад
vitest.config.mts fc3c0900ec add unit tests 10 месяцев назад

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

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