Files
tabler/docs/content/icons/static-files/png.mdx
T

39 lines
1.1 KiB
Plaintext

---
title: PNG version
summary: Use the PNG files when you need raster icons for mockups, chats or tools without vector support.
description: Download Tabler Icons as PNG files - raster images for mockups, chat apps, and tools that do not support vector formats.
---
import TabsPackage from '@components/TabsPackage.astro'
![Tabler Icons in PNG format](/img/icons/package-png.png)
## Installation
<TabsPackage name="@tabler/icons-png" />
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
All PNG files are stored in `icons` subdirectory.
## CDN
### Outline version
Load the outline version of an icon as an image straight from the `icons/outline` directory of the CDN package:
```html
<img src="https://unpkg.com/@tabler/icons-png@$ICONS_VERSION/icons/outline/home.png" />
```
### Filled version
Use the `icons/filled` path to load the filled version of an icon:
```html
<img src="https://unpkg.com/@tabler/icons-png@$ICONS_VERSION/icons/filled/home.png" />
```
Instead of a specific version, you can use `latest` to always get the newest icons.