@flaticon/flaticon-uicons

中文文档
3.3.1发布于 2024/06/18SEE LICENSE IN LICENSETypeScriptCommonJS零依赖近 30 天下载 11.2万

Interface icons from Flaticon

原始使用文档

Flaticon

Open-source Over 4,000 SVG and web font-optimal vector-based icons available for web, iOS, and Android applications.

css.gg

🔥 New Icons Brand

🚀 Over 20,000 Icons

🔥 SVG Icons

🦄 Figma Components####

Table of Contents

Get Started

Install the latest version via npm

npm i @flaticon/flaticon-uicons

Using Package Manager
This package contains the following directories and files:

Path                            What it is
/cssStylesheets for Web Fonts

HTML include

Go to the user guide that you can find in Flaticon

CSS @import

1. All icons

@import "~@flaticon/flaticon-uicons/css/all/all";

2. Single style

@import "~@flaticon/flaticon-uicons/css/{FONTWEIGHT}/{STYLENAME}";
@import "~@flaticon/flaticon-uicons/css/brands/all";
WEIGHT  CORNER  PREFIX  EXAMPLE
RegularRoundedfi-rr<i class="fi fi-rr-user"></i>
BoldRoundedfi-br<i class="fi fi-br-user"></i>
SolidRoundedfi-sr<i class="fi fi-sr-user"></i>
RegularStraightfi-rs<i class="fi fi-rs-user"></i>
BoldStraightfi-bs<i class="fi fi-bs-user"></i>
SolidStraightfi-ss<i class="fi fi-ss-user"></i>
BrandsBrandsfi-brands<i class="fi fi-brands-facebook"></i>
ThinRoundedfi-tr<i class="fi fi-tr-circle-user"></i>
ThinStraightfi-ts<i class="fi fi-ts-circle-user"></i>
3. Example
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <i class="fi fi-rr-user"></i>
    <i class="fi fi-br-arrow-right"></i>
    <i class="fi fi-sr-book"></i>
    <i class="fi fi-rr-broom"></i>
  </body>
</html>

4. License Summary

Our license allows you to use the content:

For commercial and personal projects On digital or printed media For an unlimited number of times and perpetually Anywhere in the world To make modifications and derived works

This text is a summary for information only. It does not constitute any contractual obligations. For more information, please read our Term of use before using the content

5. How to attribute

Creating quality icons takes a lot of time and effort. We only ask you to add a small attribution link. Choose the medium in which you are going to use the resource.

Copy this link and paste it wherever it’s visible, close to where you’re using the resource. If that’s not possible, place it at the footer of your website, blog or newsletter, or in the credits section.

Uicons by <a href="https://www.flaticon.com/uicons">Flaticon</a>

版本与发布记录

@flaticon/flaticon-uicons 共发布 21 个版本,首次发布于 2022/01/04;过去 12 个月发布了 0 个版本。

版本发布日期距今
3.3.1latest2024/06/182 年前
3.3.02024/06/112 年前
3.2.12024/04/122 年前
3.2.02024/04/102 年前
3.1.02024/01/022 年前
3.0.02023/10/193 年前

关于 @flaticon/flaticon-uicons 的常见问题

@flaticon/flaticon-uicons 是什么?

Interface icons from Flaticon

如何安装 @flaticon/flaticon-uicons?

在项目目录运行 npm install @flaticon/flaticon-uicons,或使用 pnpm add / yarn add / bun add。

@flaticon/flaticon-uicons 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@flaticon/flaticon-uicons 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@flaticon/flaticon-uicons 可以商用吗?

@flaticon/flaticon-uicons 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@flaticon/flaticon-uicons 的下载量有多少?

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

@flaticon/flaticon-uicons 还在维护吗?

最新版本 3.3.1 发布于 2024/06/18(2 年前);至今共发布 21 个版本,其中过去 12 个月发布了 0 个;首次发布于 2022/01/04。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。