Back to Tabler Icons

Tabler Icons for Astro

docs/icons/astro.mdx

3.46.0875 B
Original Source

Installation

<TabsPackage name="@tabler/icons-astro" />

or just download from GitHub.

How to use

It's built with ES modules so it's completely tree-shakable. Each icon can be imported as an Astro component.

astro
---
import { IconArrowRight } from '@tabler/icons-astro';
---

<IconArrowRight />

You can pass additional props to adjust the icon.

astro
<IconArrowRight color="red" size={48} />

Any valid SVG attribute is forwarded to the rendered <svg> element.

Props

nametypedefault
sizeNumber24
colorStringcurrentColor
strokeNumber2