@dataloop-ai/icons
v3.0.178
Published
The icons repo of DataLoop
Downloads
1,136
Readme
DL Icons
This is a Dataloop created icon pack.
It contains both SVG files and font files generated using Icomoon tool
How to install
Our icons pack can be found in the public NPM registry and can be installed with the following command:
npm i @dataloop-ai/icons
How to use Icons in the code
You can use the icons in two main ways.
Loading the css fonts and using the css selectors
In order to load the CSS font files you can simply import the style
import '@dataloop-ai/icons/style.css'
This will make sure you have loaded the glpyh selectors
Next its simple way of using it in an
<i>
tag<i class="icon-dl-dot"></i>
Using the SVG files
Just load the svg file into an
<image>
tag and point to it.<img src="node_modules/@dataloop-ai/icons/assets/ai.svg" />