codecalm 5c4704034c Release 3.9.0 | 4 months ago | |
---|---|---|
.. | ||
src | 4 months ago | |
.gitignore | 7 months ago | |
README.md | 8 months ago | |
build.mjs | 7 months ago | |
package.json | 4 months ago | |
rollup.config.mjs | 7 months ago | |
setupVitest.js | 8 months ago | |
test.spec.tsx | 4 months ago | |
tsconfig.json | 7 months ago | |
vitest.config.mts | 8 months ago |
Implementation of the Tabler Icons library for Preact applications.
Browse all icons at tabler-icons.io →
If you want to support my project and help me grow it, you can become a sponsor on GitHub or just donate on PayPal :)
yarn add @tabler/icons-preact
or
npm install @tabler/icons-preact
or
pnpm install @tabler/icons-preact
or just download from Github.
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} />
name | type | default |
---|---|---|
size |
Number | 24 |
color |
String | currentColor |
stroke |
Number | 2 |
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
Tabler Icons is licensed under the MIT License.