@tabler/icons
v3.48.0
Published
A set of free MIT-licensed high-quality SVG icons for you to use in your web projects.
Downloads
13,540,318
Readme
Tabler Icons
Sponsors
If you want to support our project and help us grow it, you can become a sponsor on GitHub or donate on PayPal.
Installation
npm install @tabler/iconsyarn add @tabler/iconspnpm add @tabler/iconsYou can also download the latest release from GitHub.
Usage
All icons are plain SVG files, so you can use them as an <img> source, as a CSS background-image, or inline in your HTML.
HTML image
When you load an icon as an image, you can control its size with CSS.
<img src="path/to/icon.svg" alt="icon title" />Inline SVG
Paste the content of the icon file directly into your HTML to render it inline.
<svg
xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icons-tabler-outline icon-tabler-activity"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M3 12h4l3 8l4 -16l3 8h4" />
</svg>Inline icons inherit currentColor, so you can change their size, color, and stroke-width with CSS.
.icon-tabler {
color: red;
width: 32px;
height: 32px;
stroke-width: 1.5;
}Package contents
| Path | Description |
| --- | --- |
| icons/outline/*.svg | Outline icons |
| icons/filled/*.svg | Filled icons |
| icons.json | Metadata for every icon: name, category, tags, version and unicode code point |
| categories/outline/<category>/*.svg | Outline icons grouped by category |
| tabler-nodes-outline.json, tabler-nodes-filled.json | Icon paths as [tag, attributes] tuples, used to build the framework packages |
CDN
All files are available from jsDelivr. Replace latest with a specific version number to pin a release.
<img src="https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/outline/home.svg" alt="Home" />
<img src="https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/filled/home.svg" alt="Home" />Contributing
Bug reports and icon requests are welcome in the issue tracker. Caught a mistake in this page? Edit it on GitHub.
License
Tabler Icons is licensed under the MIT License.
