# @cryp2knight/vue-feather-icons 中文文档

规范地址：https://npmcn.com/package/%40cryp2knight/vue-feather-icons/

版本：4\.29\.1
npm 元数据更新时间：2023-10-30T02:19:25.592Z
中文译文更新时间：2026-11-11T03:03:58.143Z
软件包许可：MIT

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40cryp2knight/vue-feather-icons
原文对照：https://npmcn.com/package/%40cryp2knight/vue-feather-icons/?lang=original
项目主页：https://github.com/cryp2knight/vue-feather-icons#readme
源码仓库：https://github.com/cryp2knight/vue-feather-icons

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：2.5 MB，295 个文件
- 模块格式：ESM + CJS
- TypeScript 类型：未声明
- 运行依赖：1 个
- 首次发布：2023-10-30T02:19:25.006Z
- 最新版本发布：2023-10-30T02:19:25.386Z
- 近 30 天下载量：3600（2026-10-11 至 2026-11-09，npm 官方下载统计）
- 已发布版本数：1（近 12 个月 0 个）

## 中文简介

简单的美丽开源图标作为Vue功能组件.

## 安装

```sh
npm install @cryp2knight/vue-feather-icons
```

也可以使用：`pnpm add @cryp2knight/vue-feather-icons`、`yarn add @cryp2knight/vue-feather-icons`、`bun add @cryp2knight/vue-feather-icons`

## README

# 风毛菊花

[![NPM version](https://img.shields.io/npm/v/vue-feather-icons.svg?style=flat)](https://npmjs.com/package/vue-feather-icons) [![NPM downloads](https://img.shields.io/npm/dm/vue-feather-icons.svg?style=flat)](https://npmjs.com/package/vue-feather-icons) [![CircleCI](https://circleci.com/gh/egoist/vue-feather-icons/tree/master.svg?style=shield)](https://circleci.com/gh/egoist/vue-feather-icons/tree/master) [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/egoist/donate)

## 安装

```bash
yarn add vue-feather-icons
```

## 使用量

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

此处参见全部图标和用法 : [https://vue-feather-icons.egoist.dev (原始内容存档于2018-09-27)](https://vue-feather-icons.egoist.dev/)

### 大小

默认情况下,图标会根据母元素的字体大小来大小.

您可以使用 `size` 属性. 对于多基分数,通过想要的分数,然后是 `x`。 。 。 .

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

您也可以设置一个 `px` 仅通过整数直接大小

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

## 树摇

通过使用ES的进口 `import { AirplayIcon } from 'vue-feather-icons'` 与 [网包+ 修饰器](https://webpack.js.org/guides/tree-shaking/#minify-the-output) 或滚动,此模块中的未用导出将自动被消除.

要让 Webpack 树在不使用任何分解器的情况下摇动工作, 您可以使用每个文件的图标 [`icons`](https://unpkg.com/vue-feather-icons/icons/) 目录,例如:. `import AirplayIcon from 'vue-feather-icons/icons/AirplayIcon'`。 。 。 .

## 相关

-   [vue-字节尺寸相框](https://github.com/egoist/vue-bytesize-icons)

## 捐款

1.  叉开它!
2.  创建您的特性分支 : `git checkout -b my-new-feature`
3.  提交更改 : `git commit -am 'Add some feature'`
4.  推到树枝上: `git push origin my-new-feature`
5.  提交拉动请求 : D

## 作者

**风毛菊花** © [利己主义](https://github.com/egoist),在 [麻省理工学院](https://npmcn.com/package/%40cryp2knight/vue-feather-icons/LICENSE) 执照.  
由自负主义者在贡献者的帮助下撰写并维护[列表](https://github.com/egoist/vue-feather-icons/contributors)) (中文(简体) ).

> [利己主义者 德夫](https://egoist.dev/) • GitHub 软件 [@egoist (英语)](https://github.com/egoist) • 推特 [@ 激烈争吵 @](https://twitter.com/poorlybatched)

## 常见问题

### @cryp2knight/vue-feather-icons 是什么？

简单的美丽开源图标作为Vue功能组件\.

### 如何安装 @cryp2knight/vue-feather-icons？

在项目目录运行 npm install @cryp2knight/vue-feather-icons，或使用 pnpm add / yarn add / bun add。

### @cryp2knight/vue-feather-icons 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/cryp2knight\_\_vue-feather-icons 是否存在。

### @cryp2knight/vue-feather-icons 支持 ESM 还是 CommonJS？

同时提供 ES Module 与 CommonJS 入口，import 和 require\(\) 都可以使用，打包工具会自动选择合适的版本。

### @cryp2knight/vue-feather-icons 可以商用吗？

@cryp2knight/vue-feather-icons 使用 MIT 许可。宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### @cryp2knight/vue-feather-icons 的下载量有多少？

根据 npm 官方下载统计，@cryp2knight/vue-feather-icons 在 2026/10/11 – 2026/11/09 这 30 天内被下载 3,600 次，日均约 120 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @cryp2knight/vue-feather-icons 还在维护吗？

最新版本 4\.29\.1 发布于 2023/10/30（3 年前）；至今共发布 1 个版本，其中过去 12 个月发布了 0 个；首次发布于 2023/10/30。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

