vue-feather-icons

Simply beautiful open source icons as Vue functional components.

  • 所有者: egoist/vue-feather-icons
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

vue-feather-icons

NPM version NPM downloads CircleCI donate

Install

yarn add vue-feather-icons

Usage

// Only import what you need!
import { AirplayIcon, AtSignIcon, ... } from 'vue-feather-icons'

See all icons and usage here: https://vue-feather-icons.egoist.sh

Sizing

By default, icons will be sized based on the font size of the parent element.

You can set a custom size using the size attribute.
For multiple based sizing, pass the desired multiple followed by an x.

<activity-icon size="1.5x" class="custom-class"></activity-icon> 

You can also set a px size directly by just passing an integer

<activity-icon size="25" class="custom-class"></activity-icon> 

Tree shaking

By using ES imports like import { AirplayIcon } from 'vue-feather-icons' with webpack + minifier or Rollup, unused exports in this module will be automatically eliminated.

To make webpack tree shaking work without using any minifier, you can use the per-file icons from icons directory, e.g. import AirplayIcon from 'vue-feather-icons/icons/AirplayIcon'.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

vue-feather-icons © egoist, Released under the MIT License.
Authored and maintained by egoist with help from contributors (list).

egoist.moe · GitHub @egoist · Twitter @_egoistlily

主要指标

概览
名称与所有者egoist/vue-feather-icons
主编程语言Vue
编程语言JavaScript (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2017-08-04 04:52:12
推送于2023-02-19 08:10:55
最后一次提交2023-02-19 16:10:55
发布数10
最新版本名称v5.1.0 (发布于 )
第一版名称v0.1.0 (发布于 2017-08-04 12:52:37)
用户参与
星数594
关注者数10
派生数36
提交数51
已启用问题?
问题数34
打开的问题数13
拉请求数22
打开的拉请求数25
关闭的拉请求数14
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?