icon blender
从80,000多个免费和开源图标中创建自定义的SVG图标集合
特征
-
仅包括您需要的图标
自定义图标束意味着较小的传输尺寸和更快的页面加载 -
使用来自多个软件包的图标
添加另一个图标软件包中的图标不需要包含整个软件包 -
CSS中的SVG
图标向量直接嵌入您的CSS文件中,消除了对其他字体文件的需求 -
没有字体文件
消除字体文件意味着在您的页面加载页面之前,较少的服务器请求并求解“确保在WebFont加载期间保持文本可见”问题上的问题上的问题。 -
与SCSS/LINS.JS工作流程无缝集成
没有安装或配置的其他软件
用法
SCSS
示例.scss
@import \" icon-blender/scss/icon-blender.scss \" ; // import default variables, mixins and core styles @import \" icon-blender/scss/icons/fa.scss \" ; // import the FontAwesome4 collection ($icons-fa) @include icon ( $icons-fa , \' search \' ); // include the \'search\' icon from the FontAwesome4 collection
示例.html
< i class =\" ib fa-search \" > </ i >
少
例子
@import \" icon-blender/less/icon-blender.less \" ; // import default variables, mixins and core styles @import \" icon-blender/less/icons/fa.less \" ; // import the FontAwesome4 collection ($icons-fa) .ib .icon ( @icons-fa , search); // include the \'search\' icon from the FontAwesome4 collection
示例.html
< i class =\" ib fa-search \" > </ i >
CSS
不使用SCSS?您仍然可以通过在Icon-Blender.com上选择图标并生成CSS来使用IconBlender
造型
IconBlender带有标准量表(IB-2X ..),旋转(IB-Rotate-90 …,Flip(Ib-Flip-vertical …)和动画(IP-Spin)类。请参阅https://icon-blender.com/docs,请参见示例
自定义类名称
使用icon() MIXIN时,生成的类名称将采用表单.#{$collection-prefix}-#{$icon-name} 。如果您希望替代类名称,则可以使用iconUrl() mixin。
示例.scss
@import \" icon-blender/scss/icon-blender.scss \" ; // import default variables, mixins and core styles @import \" icon-blender/scss/icons/fa.scss \" ; // import the FontAwesome4 collection ($icons-fa) .my-class-name { @include iconUrl ( $icons-fa , \' search \' ); }
例子
@import \" icon-blender/less/icon-blender.less \" ; // import default variables, mixins and core styles @import \" icon-blender/less/icons/fa.less \" ; // import the FontAwesome4 collection ($icons-fa) .my-class-name { .ib .iconUrl ( @icons-fa ,search); }
可用的图标软件包
图标定义来自Iconfy
| 软件包名称 | 前缀 | 图标 |
|---|---|---|
| akar图标 | akar-icons | 242 |
| 蚂蚁设计图标 | 蚂蚁设计 | 1828年 |
| 引导图标 | 双 | 1333 |
| BPMN | BPMN | 112 |
| Brandico字体 | Brandico | 45 |
| Boxicons | Bx | 1500 |
| 字节化图标 | 数字 | 102 |
| 碳 | 碳 | 1584年 |
| Coreui品牌 | CIB | 831 |
| CoreUI标志 | CIF | 199 |
| 免费的Coreui | CIL | 562 |
| 明晰 | 明晰 | 1085 |
| 代码子 | vodicon | 349 |
| 加密货币图标 | 加密货币 | 452 |
| dashicons | dashicons | 347 |
| 邪恶的偶像 | EI | 70 |
| 难以捉摸的图标 | El | 304 |
| 表情符号一(彩色) | 表情符号 | 2159 |
| 表情符号一(单调) | 表情符号 – 单酮 | 1713年 |
| 表情符号一(v1) | 表情符号V1 | 1529年 |
| Entypo+ | Entypo | 321 |
| Entypo+社交 | Entypo-Social | 76 |
| 优雅的 | 等 | 100 |
| eva图标 | 伊娃 | 490 |
| 字体很棒4 | fa | 786 |
| 字体很棒的5个品牌 | FA-Brands | 461 |
| 字体很棒5常规 | Fa-regular | 151 |
| 字体真棒5固体 | FA-Solid | 1024 |
| 羽毛图标 | 铁 | 255 |
| 羽毛图标 | 羽毛 | 286 |
| 文件图标 | 文件 – 元音 | 918 |
| 纯色图标 | 扁彩 | 329 |
| 平面UI图标 | Flat-ui | 100 |
| 流利的UI系统图标 | 流利 | 6994 |
| Fontelico | Fontelico | 34 |
| 基础 | 基础 | 283 |
| Firefox OS表情符号 | fxemoji | 1034 |
| 地理素 | 地理 | 30 |
| css.gg | GG | 704 |
| Gridicons | Gridicons | 201 |
| 索环图标 | 索环 | 611 |
| 英雄大纲 | 英雄外线 | 226 |
| 英雄固体 | 英雄固定 | 226 |
| Google材料图标 | 我知道了 | 10009 |
| 免费ICOMOON | 无偶像 | 491 |
| Icons8 Windows 10图标 | ICONS8 | 234 |
| iCicalicons | il | 84 |
| 离子 | 离子 | 2582 |
| Innowatio字体 | IWWA | 105 |
| 果酱图标 | 果酱 | 940 |
| 线真棒 | 洛杉矶 | 2353 |
| 物质线图标 | 线路 | 250 |
| SVG徽标 | 徽标 | 1397 |
| 结扎符号 | LS | 348 |
| 雄伟 | 雄伟 | 420 |
| 麦基 | 麦基 | 388 |
| 地图图标 | 地图 | 167 |
| 材料设计图标 | MDI | 10639 |
| 材料设计灯 | mdi-light | 267 |
| 医疗图标 | 医疗元素 | 144 |
| 单图标 | mi | 147 |
| Noto Emoji | 不 | 3678 |
| Noto Emoji(V1) | noto-v1 | 2320 |
| 八孔 | 八孔 | 604 |
| 开放标志性 | Oi | 223 |
| OpenMoji | OpenMoji | 3954 |
| 磷 | ph | 4668 |
| Pixelarticons | Pixelarticons | 460 |
| Prestashop图标 | PS | 479 |
| radix图标 | radix-icons | 310 |
| 拉斐尔 | 拉斐尔 | 266 |
| 混音图标 | RI | 2271 |
| Smarticons字形 | Si-Glyph | 800 |
| 简单图标 | 简单 | 1914年 |
| 简单的线图标 | 简单线 | 189 |
| 地铁图标集 | 地铁 | 308 |
| 系统UICON | 系统 – | 422 |
| 表图标 | 表格 | 1276 |
| 雅典 | 雅典 | 1200 |
| 面漆图标 | 面漆 | 89 |
| Twitter表情符号 | Twemoji | 3823 |
| 古使 | Typcn | 336 |
| 单人 | UIL | 1236 |
| Unicons单色 | UIM | 296 |
| vaadin图标 | 瓦丁 | 636 |
| Vesper图标 | vs | 172 |
| VSCODE图标 | vscode-icons | 1070 |
| Web符号LIGA | Websymbol | 85 |
| WebhostingHub字形 | 哇 | 2125 |
| 天气图标 | WI | 599 |
| Icons8 Windows 8图标 | WPF | 294 |
| 材料设计标志性字体 | ZMDI | 886 |
| Zondicons | Zondicons | 297 |
贡献
安装构建和测试所需的依赖项:
$ npm install
运行测试
$ npm test
创建SCSS/ ICON/ .SCSS和少/图标/ 。
$ npm run build
构建CSS/ICON-BLENDER.CSS
$ npm run build:css
