Last updated
Last updated
The minified tabler-sprite-outline.svg
file is already included here: public/assets/svg
, allowing you to use any of the Tabler stroke icons. To add an icon, simply reference its name from the .
To add a new Tabler outline icon, refer to the and get the icon name.
Use the format tabler-[iconname] in your code. Here's an example:
We have created a separate file, tabler-sprite-fill.svg
, located in the public/assets/svg
path.
Only the usable fill SVG icons are included in this file at this moment.
Include the above code in the tabler-sprite-fill.svg
file. between the SVG tag
Customize as per other icons already added
Replace SVG with symbol tag
Remove width & height attributes
Also, remove the class & add id attributes with a specific name, here is an example:
Remove: class="icon icon-tabler icons-tabler-filled icon-tabler-star"
Add: id="tabler-filled-star"
After adding a new svg then use this svg id in your files
The icon has been successfully added! 👍
To add a new fill icon, copy the SVG code from the .