isui-iconfont
v1.0.2
Published
The premium icon font for isui Component Library.
Downloads
3
Maintainers
Readme
isui-icon
The premium icon font for isui Component Library. Designed by @shawn2016.
They are free to use and licensed under MIT. We intend for this icon pack to be used with isui, but it’s by no means limited to it. Use them wherever you see fit, personal or commercial.
Installation
npm install isui-iconfont --save
HTML Example
You need link CSS
<link rel="stylesheet" type="text/css" href="node_modules/fonts/is-iconfont.css">
Used in Less:
@import "~isui-iconfont/fonts/is-iconfont.css";
note: It has a is-icon-
prefix.
<i class="is-icon-apple"></i>
Or use the Unicode
, You can use Unicode website to easily find the Unicode
icon you want to use.
<style>
.iconfont{
font-family: "is-iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
</style>
<span class="iconfont"></span>
Development
Run the npm install
to install the dependencies after cloning the project and you'll be able to:
To build *.svg
*.ttf
*.woff
*.eot
files
npm run font
To build site and push gh-pages branch
npm run start
License
Licensed under the MIT License.