---
title: Tabler Icons for Astro
---

![](https://raw.githubusercontent.com/tabler/tabler-icons/main/.github/packages/og-package-astro.png)

## Installation

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

or just [download from GitHub](https://github.com/tabler/tabler-icons/releases).

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

| name          | type     | default      |
| ------------- | -------- | ------------ |
| `size`        | _Number_ | 24           |
| `color`       | _String_ | currentColor |
| `stroke`      | _Number_ | 2            |
