Fluent System Icons are a collection of familiar, friendly and modern icons from Microsoft.
Перейти к файлу
Nick Romano 948550492e
Bump macOS deployment target for Cocoapods (#773)
2024-10-30 16:30:17 -07:00
.azure/pipelines
.github Reenable running the android deploy script. (#772) 2024-10-30 12:54:47 -07:00
.swiftpm/xcode/package.xcworkspace
android Release 1.1.264 2024-10-30 20:48:46 +00:00
art
assets New and Updated icons (#771) 2024-10-28 09:53:34 -07:00
flutter Release 1.1.264 2024-10-30 20:48:46 +00:00
fonts Release 1.1.264 2024-10-30 20:48:46 +00:00
importer
ios Bump macOS deployment target for Cocoapods (#773) 2024-10-30 16:30:17 -07:00
packages Release 1.1.264 2024-10-30 20:48:46 +00:00
scripts
.gitignore
CONTRIBUTING.md
FluentIcons.podspec
LICENSE
NOTICE
Package.swift
README.md Release 1.1.264 2024-10-30 20:48:46 +00:00
SECURITY.md
fluentui-android-system-icons-release.yml Migrate release pipelines to 1es-pt (#756) 2024-10-08 14:56:15 +05:30
generate_icons_md.py
icons_color.md
icons_filled.md Release 1.1.263 2024-10-28 17:41:04 +00:00
icons_light.md Release 1.1.261 2024-10-11 18:36:26 +00:00
icons_regular.md Release 1.1.263 2024-10-28 17:41:04 +00:00
package-lock.json Release 1.1.264 2024-10-30 20:48:46 +00:00
package.json
yarn.lock

README.md

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.264@aar'

For library docs, see android/README.md.

iOS and macOS

CocoaPods

use_frameworks!

pod "FluentIcons", "1.1.264"

Carthage

git "git@github.com:microsoft/fluentui-system-icons.git" "1.1.264"

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.264

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.

Jump into the directory:

cd importer

Install npm dependencies:

npm install
npm run clean

List all the available commands:

npm 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 npm run 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.