Back to Tabler Icons

Tabler Icons for Preact

docs/icons/preact.mdx

3.41.1838 B
Original Source

Installation

<TabsPackage name="@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.

js
import { IconArrowDown } from '@tabler/icons-preact';

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

export default App;

You can pass additional props to adjust the icon.

js
<IconArrowDown color="red" size={48} />

Props

nametypedefault
sizeNumber24
colorStringcurrentColor
strokeNumber2