@mochicons/css
v0.0.1
Published
An open source and hand-crafted SVG icons library
Downloads
3
Readme
@mochicons/css
Installation
Using a package manager
Add this package to your project using yarn:
$ yarn add @mochicons/css
Then, include the mochicons.css
file in your HTML file:
<link rel="stylesheet" href="node_modules/@mochicons/css/mochicons.css">
Using a public CDN
You can also use a public CDN like jsdelivr.net:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mochicons/css@latest/mochicons.css">
Usage
You can use the CSS classes defined in mochicons.css
to reference icons in your HTML:
<i class="m-star"></i>
You can use font-size
and color
style properties for customizing the icon:
<i class="m-tools" style="color:#025cca;font-size:24px;"></i>
License
Under the MIT LICENSE.