---
title: Astro
description: Tabler Icons library for Astro framework.
summary: Tabler Icons for Astro provides an optimized collection of icons specifically designed for use with Astro. These lightweight and scalable icons are easy to integrate into Astro-based projects.
layout: '@layouts/DocsMdxLayout.astro'
---

import TabsPackage from '@components/TabsPackage.astro'

![Tabler Icons for Astro](/img/icons/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 ESmodules so it's completely tree-shakable. Each icon can be imported as an Astro component.

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

<IconArrowDown />
```

You can pass additional props to adjust the icon. Any valid SVG attribute is forwarded to the rendered `<svg>` element.

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

### Props

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