fluentui-system-icons
Copilot instructions11k starsChanged 16 months agoMITView on GitHub
Purpose: Enable rapid, correct contributions across multi-platform icon packages (web React, React Native, SVG assets/sprites, Android, iOS, Flutter) generated from a single assets/ source.
Trending
Quiet since September.about the whole repository
Who's talking about microsoft/fluentui-system-icons
- A Hacker News story“Microsoft Fluent UI System Icons”Hacker News · Nov 4, 2020 · 182 points
- @midu.dev“Microsoft tiene de código abierto una brutal colección de iconos SVG: Preparados para Web, Android, iOS, …”Bluesky · Jun 20, 2025 · 19 likes
- notepad-plus-plus/notepad-plus-plus“NppFluentUI Icons for NppDarkMode”GitHub · Apr 7, 2021 · 13 reactions
- witalihirsch/qBitTorrent-fluent-theme“Icon replacement”GitHub · Mar 13, 2023 · 12 reactions
- @midu.dev“Microsoft ha publicado de código abierto todos los iconos que usa en sus aplicaciones. En SVG y para Web, …”Bluesky · Aug 27, 2025 · 10 likes
The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 22
Talked about on GitHub, Bluesky and Hacker News (22 times).
On GitHub · 17
- Apr 7, 2021NppFluentUI Icons for NppDarkMode — notepad-plus-plus/notepad-plus-plus13 reactions · 60 comments
- Mar 13, 2023Icon replacement — witalihirsch/qBitTorrent-fluent-theme12 reactions
- Dec 14, 2022@fluentui/react-icons: build performance & package bloat — microsoft/fluentui5 reactions · 30 comments
- Aug 16, 2021[feature] Update modern icons — winsiderss/systeminformer5 reactions · 7 comments
- Mar 20, 2025Crunchy reply cancel button — Chatterino/chatterino23 reactions · 2 comments
12 more on GitHub
- Sep 24, 2026[P2] Define and package the core UI V2 icon set — Malboro66/woff-mate1 reaction · 2 comments
- Jul 16, 2026chore(deps): bump the root-maintenance group with 8 updates — pbroom/spfx-kit1 reaction · 3 comments
- Jun 11, 2025Rephrase Error Help Button to Indicate AI Usage — microsoft/pxt1 reaction
- Aug 16, 2024[BUG] Performance issue while switching between lite mode & dark mode — notepad-plus-plus/notepad-plus-plus1 reaction · 5 comments
- Dec 8, 2023Align react-icon gen lib — AxisCommunications/fluent-components1 reaction
- Jul 5, 2022chore: Update @fluentui/react-icons dependency to v2.0.175 — microsoft/fluentui1 reaction · 6 comments
- Apr 23, 2022New icons style — deckerst/aves1 reaction · 3 comments
- Nov 6, 2021[PT Run] Add support for application URI — microsoft/PowerToys1 reaction · 29 comments
- Aug 7, 2021vNext button styling details — microsoft/fluentui1 reaction · 3 comments
- Apr 12, 2021Remove react-northstar icons — Azure/communication-ui-library1 reaction · 4 comments
- Sep 16, 2026build(deps): bump @fluentui/svg-icons from 1.1.333 to 1.1.341 — Emilio-01-T/paintnode0 reactions
- Aug 27, 2026chore(deps-dev): bump @fluentui/svg-icons from 1.1.333 to 1.1.338 — aidevme/powerplatform-accessibility-docs0 reactions
On Bluesky · 4
- Jun 20, 2025Microsoft tiene de código abierto una brutal colección de iconos SVG: Preparados para Web, Android, iOS, Flutter: github.com/microsoft/fl... — @midu.dev19 likes and reposts · 1 reply
- Aug 27, 2025Microsoft ha publicado de código abierto todos los iconos que usa en sus aplicaciones. En SVG y para Web, Flutter, Android, iOS y más:… — @midu.dev10 likes and reposts
- Jun 17, 2025📦 microsoft / fluentui-system-icons ⭐ 6,766 (+60) 🗒 HTML Fluent System Icons are a collection of familiar, friendly and modern icons from… — @github-trending.bsky.social1 likes and repost
- Nov 21, 2024See github.com/microsoft/fl... — @baaijte.net1 likes and repost · 1 reply
On Hacker News · 1
- Nov 4, 2020Microsoft Fluent UI System Icons182 points · 99 comments
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- pre-release-npm-packageSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 46
Add raw SVG(s) to appropriate new/existing folder in assets/ (ensure fill #212121).
- Very specific: line 53
If React pipelines failed you will probably need to update metadata.json and test snapshot to reflect new assets addition.
- Very specific: line 55
Run yarn nx run react-icons:build to regenerate outputs and update snapshots.
- Very specific: line 56
Run yarn nx run react-icons:build-verify -u to update snapshots.
- Very specific: line 57
Commit generated outputs (generated code is tracked—do not manually edit lib/ outputs.
- Very specific: line 61
Prefer changes inside importer/ scripts (e.g., generate.js, generateFont.js) to altering per-package build steps.
- Distinctive: line 62
After script changes, rebuild at least one consumer package to ensure no path/flag regressions.
- Distinctive: line 85
No asset directories with trailing spaces.
- Distinctive: line 86
All new SVGs pass fill rule.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AI Assistant Project Guide: Fluent UI System Icons
Purpose: Enable rapid, correct contributions across multi-platform icon packages (web React, React Native, SVG assets/sprites, Android, iOS, Flutter) generated from a single assets/ source.
Core Architecture
- Targeted package instructions: see
./react-icons.instructions.md(auto-applies when working insidepackages/react-icons). - Source of truth: Raw SVG design assets in
assets/(folder names = icon groups). Each icon has metadata (directionality handled via RTL processing scripts) and fixed primary fill#212121(validation enforced in CI). - Generated outputs per platform:
- React web:
@fluentui/react-icons→ JSX components + optional font implementation. Build pipeline: asset -> optimized SVG (intermediate/) -> component TS insrc/-> compiled output inlib/(ESM) &lib-cjs/(CJS) +fonts/bundle + mergedmetadata.json. - React Native: Similar SVG ->
intermediate/-> RN components insrc/; styling more limited (no Griffel styling utilities). - Plain SVG package:
@fluentui/svg-iconsemits optimized renamed raw SVGs inpackages/svg-icons/icons/following[name]_[size]_[style].svg. - Sprites:
@fluentui/svg-spritesconverts single SVGs to per-icon sprite files:<icon>.sprite.svgfor on-demand<use href="/sprites/{id}.sprite.svg#id" />consumption. - Fonts: Generated via
importer/generateFont.js(Regular/Filled/Light/Resizable) feeding React font condition and Flutter/iOS/Android. - Native (Android/iOS/Flutter): Produced by
importerdeployment scripts (deploy:android,deploy:ios,deploy:flutter) which transform assets into vector drawables / PDF assets / Dart classes.
- React web:
Key Workflows (Local)
- Install deps (root + packages):
corepack enable && yarn install --immutableat repo root (yarn 4,nodeLinker: node-modules; npm/pnpm are NOT configured). - React icons build (full):
yarn nx run react-icons:build. Quick validation only:yarn nx run react-icons:build-verify(output assets and metadata checks). - React Native icons build:
yarn workspace @fluentui/react-native-icons build. - SVG raw assets:
yarn workspace @fluentui/svg-icons build. - Sprites:
yarn workspace @fluentui/svg-sprites build. - Importer operations (multi-platform generation & version bumps):
cd importer && yarn deploy:android|deploy:ios|deploy:fonts. - Clean React icons intermediates:
yarn cleanin each package (removes generatedlib*andintermediate/). Avoid manual deletion to keep scripts deterministic. - Package scripts must invoke root-owned binaries as
yarn run -T <bin>— yarn puts nonode_modules/.binonPATH. See Single Version Policy.
CI Expectations / Pitfalls
- PR validation (
.github/workflows/pr.yml) enforces: (1) asset folder names not ending with space; (2) all non-color SVGs includefill="#212121"(except*_color.svgwhich are skipped). Maintain fill when editing SVGs; use scripts (optimize,unfill) instead of hand-edits. - React build job runs
lint, fullbuild, andbuild-verify; keep TypeScript version constraints (TS ~4.1) when adding language features. - iOS/Android build jobs rely on importer output; ensure importer scripts still produce expected file layout when modifying generation logic.
Conventions & Patterns
- Icon naming (React / RN):
AccessTimeFilled(state suffix) and sized variantsAccessTime24Filled. General (resizable) variant without size preferred for flexible UI. - Plain SVG file naming: lowercase + underscores from original asset folder; pattern:
mail_24_filled.svg. - Sprite consumption id pattern:
{name}_{size}_{style}(mirrors SVG file stem) reused inside#symbolid. - Directionality:
rtlMetadata.jsgeneratesintermediate/rtl.json; keep this in sync when adding new directional icons. Metadata merging occurs viaconvert:merge-metadata. - Fonts: Four iconType variants (Regular/Filled/Light/Resizable). New styles require updating font generation pipeline (all
generate:font-*scripts and metadata merge). - Export map (
packages/react-icons/package.jsonexports) uses conditionalfluentIconFont; when adjusting build output paths, update bothlibandlib-cjsmappings consistently. - React styling: Components accept
primaryFill,className; compound icon pattern usesbundleIcon(Filled, Regular)plusiconFilledClassName/iconRegularClassNamefor state toggling.
Typical Change Flow (Add / Update Icons)
- Add raw SVG(s) to appropriate new/existing folder in
assets/(ensure fill#212121). - Let CI validate fills & builds.
Optional
NOTE: currently this should not happen as
assetsit no perceived asnxproject thus changing its contents wont trigger affected builds.
If React pipelines failed you will probably need to update metadata.json and test snapshot to reflect new assets addition.
- Run
yarn nx run react-icons:buildto regenerate outputs and update snapshots. - Run
yarn nx run react-icons:build-verify -uto update snapshots. - Commit generated outputs (generated code is tracked—do not manually edit
lib/outputs; edit sources or generation scripts instead).
When Modifying Generators
- Prefer changes inside
importer/scripts (e.g.,generate.js,generateFont.js) to altering per-package build steps; keep script flags consistent (--source,--dest,--extension,--target,--iconType). - After script changes, rebuild at least one consumer package to ensure no path/flag regressions.
Platform-Specific Notes
- React Native: Limited styling (no Griffel). Avoid introducing DOM-specific props.
- iOS: Enum-based access (
UIImage(fluent: .appStore24Filled)); asset stripping tool inios/remove-unused-fluent-iconsmust still find & parse asset names—keep naming stable. - Android: Vector drawable tint placeholder replaced (
@color/fluent_default_icon_tint) during finalize step; avoid hardcoding other colors. - Flutter: Icon classes generated from font codepoint JSON; if glyph sets change, regenerate fonts first then Flutter classes.
Safe Extensions / Additions
- New icon style variant: add generation script, extend metadata merge, update exports if needed.
- New distribution format (e.g., consolidated sprite index): create new package under
packages/and reuseimporter/generate.jswith new flags.
Avoid
- Manual edits to generated
lib/,lib-cjs/,icons/,sprites/files. - Upgrading TypeScript/Babel broadly without verifying downstream package constraints & CI.
- Introducing SVG fills other than
#212121(unless *_color.svg purposefully multi-colored).
Quick Validation Checklist Before PR
- Builds succeed for changed packages.
- No asset directories with trailing spaces.
- All new SVGs pass fill rule.
- React icons
build-verifypasses. - Metadata (
metadata.json) updated if generation logic changed.
Releases
For comprehensive release documentation, including versioning strategy, workflow details, and troubleshooting, see Release Process Documentation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

