Basic Usage
After installing @leapdev/gui-leap-icons
, you arre ready to include them to your application, by using the syntax:
<svg class="icon icon-xs"><use xlink:href="#icon_name"></use></svg>
Other Variants
Size
Icons come with 6 sizes, from xs to xxxl including:
icon-xs
, icon-sm
, icon-md
, icon-lg
, icon-xl
, icon-xxl
, icon-xxl
.
Colour
Icons will inherit the current color of the parent unless specified differently. In this example the icon inherits the secondary colour from text-secondary