@akinon/fonts-icomoon
v1.2.0
Published
Self-host the icomoon font in a neatly bundled NPM package.
Downloads
128
Readme
Icomoon Icon Font
The CSS and web font files to easily self-host the icomoon icon font.
Installation
pnpm install @akinon/fonts-icomoon
Within your app entry file or site component, import it in.
import '@akinon/fonts-icomoon';
Now, you can use the icon by adding the specific class to an element.
<span class="icon-outdent" />
This package will see the icon-*
class and will directly add font family to the element and will add the specific icon as ::before
pseudo element.