搜索插件、代码仓与 APP 分类

fluentui_system_icons 封面
插件详情v1.1.273

fluentui_system_icons

Fluent UI 系统图标是来自微软的一组熟悉、友好且现代的图标。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
6.3万
喜欢数
958
Pub 分数
160

安装插件

flutter pub add fluentui_system_icons

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Fluent UI System Icons 是由微软开发的全面现代、简洁且一致的图标集合。专为跨平台使用而设计,这些图标与 Fluent Design System 保持一致,为应用程序提供统一的视觉语言。该包可轻松集成到 Flutter 项目中,支持 Android、iOS、Web、macOS、Windows 和 Linux。专注于可访问性和可扩展性,使开发者能够以专业级别的图标增强用户界面,而无需额外的设计开销。

适合场景

  • 应用界面优化
  • 跨平台应用设计
  • 现代界面样式
  • 以可访问性为重点的设计
  • 品牌一致的图标设计

主要特点

  • 官方 Microsoft 图标集
  • 多平台支持
  • 可缩放矢量图标
  • 无障碍优化
  • 轻松集成 Flutter

适合对象

  • 使用 Fluent Design 的开发人员
  • 跨平台移动和桌面应用
  • 注重品牌一致性的团队
  • 寻求现代图标的设计人员
  • 需要可访问图标的项目

使用建议

  • 需要 Flutter 2.5 或更高版本
  • 有限的自定义选项
  • 依赖外部源更新
  • 不适合高度自定义图标的需求
  • 使用完整图标集可能带来的尺寸影响

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Fluent UI System Icons

Pull request validation

Fluent UI System Icons are a collection of familiar, friendly and modern icons from Microsoft.

Fluent System Icons

Icon List

Direction

Within the metadata.json file for an icon, a property named directionType is used to indicate the direction of the icon. This property can have one of the following values:

  • unique, meaning that the icon is unique and has a specific RTL and LTR version
  • mirror, meaning that the icon can be mirrored for RTL or LTR languages

The property singleton is also used to indicate the default direction that should be used for the icon.

Installation

Android

The library is published via Maven Central, please ensure that the mavenCentral() repository has been added to the root build.gradle file:

repositories {
    ...
    mavenCentral()
}

Include the following dependency in your project's build.gradle:

implementation 'com.microsoft.design:fluent-system-icons:1.1.341@aar'

For library docs, see android/README.md.

iOS and macOS
CocoaPods
use_frameworks!

pod "FluentIcons", "1.1.341"
Carthage
git "git@github.com:microsoft/fluentui-system-icons.git" "1.1.341"

For library docs, see ios/README.md.

Flutter

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  fluentui_system_icons: ^1.1.341

For library docs, see flutter/README.md.

Plain svg

Inline svg directly. See packages/svg-icons/README.md.

Contributing

Importer

The importer generates the Android and iOS libraries from the icons in the assets directory.

Install dependencies from the repository root (this is a single yarn workspace, so dependencies for every package are installed in one go):

corepack enable
yarn install

Jump into the directory:

cd importer
yarn clean

List all the available commands:

yarn run
Build Pipeline

Our build pipeline runs deploy:android and deploy:ios to create the libraries. The build definitions are located in .github/workflows/.

Demo apps

You can build and run the demo apps following the steps below.

Android
  1. Follow the Importer section above and run the command yarn deploy:android
  2. Open the android directory in Android Studio
  3. Select the sample-showcase in the build configuration dropdown
  4. Click run
Flutter

Prerequisite: Make sure you have flutter configured in Android Studio

  1. Open the flutter directory in Android Studio
  2. Select the example in the directory and open it in Android Studio
  3. Click run

Contact

Please feel free to open a GitHub issue and assign to the following points of contact with questions or requests.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

所属分类

源码仓库

使用此插件的项目

所在榜单