---
title: Icons
summary: Use any of over 5000 icons created specifically for Tabler and make your dashboard look even more attractive. All icons are under MIT license, so you can use them without any problem both in private and commercial projects.
banner: icons
description: Enhance dashboards with custom icons.
---
If you need to add icons to your website, you can use the [Tabler Icons library]({{ site.icons.link }}). It contains over 5000 icons that you can use in your projects. All icons are under the MIT license, so you can use them without any problem both in private and commercial projects.
## Base icon
To add an icon to your code copy the SVG code from the Tabler Icons website and paste it into your HTML file.
```html
{% include "ui/icon.html" icon="heart" %}
```
Results can be seen in the example below.
{% capture html -%}
{% include "ui/icon.html" icon="heart" %}
{% include "ui/icon.html" icon="ghost-2" %}
{% include "ui/icon.html" icon="lego" %}
{% include "ui/icon.html" icon="building-carousel" %}
{%- endcapture %}
{% include "docs/example.html" html=html %}
## Filled icons
To use filled icons, you need to copy the SVG code of the selected filled Icon from the [Tabler Icons website]({{ site.icons.link }}) and paste it into your HTML file.
{% capture html -%}
{% include "ui/icon.html" icon="heart" type="filled" %}
{% include "ui/icon.html" icon="bell-ringing" type="filled" %}
{% include "ui/icon.html" icon="cherry" type="filled" %}
{% include "ui/icon.html" icon="circle-key" type="filled" %}
{%- endcapture %}
{% include "docs/example.html" html=html %}
## Icon colors
To change the color of the icon, you need to add the `text-*` class to the parent element of the icon. See the [full list of available colors](/ui/base/colors) for more details. Color classes can be used with any HTML element.
```html
```
Look at the example below to see how the color of the icon changes.
{% capture html -%}
{% include "ui/icon.html" icon="heart" type="filled" %}
{% include "ui/icon.html" icon="star" type="filled" %}
{% include "ui/icon.html" icon="circle" %}
{% include "ui/icon.html" icon="square-rounded" %}
{%- endcapture %}
{% include "docs/example.html" html=html %}
## Icon animations
To add an animation to the icon, you need to add the `icon-pulse`, `icon-tada`, or `icon-rotate` class to the SVG element.
{% capture html -%}
{%- endcapture %}
{% include "docs/example.html" html=html %}