<< All versions
Skill v1.0.0
currentTrusted Publisher100/100microsoft/coreai-design-system/icons
──Details
PublishedOctober 19, 2026 at 07:33 AM
Content Hashsha256:052d10c26e26b6da...
Git SHA
──Files
Files (1 file, 1.8 KB)
SKILL.md1.8 KBactive
SKILL.md · 32 lines · 1.8 KB
version: "1.0.0" name: icons description: 'Conventions for picking, sizing, and bundling Fluent icons. USE WHEN: adding or changing an icon in a *.tsx file, or picking an icon name.'
Icon Usage
When looking for icon names,
- Prefer searching the installed `@fluentui/react-icons` exports so the names match the version the app actually uses. Run this from
apps/prototype/or the repository root, replacing the search expression with the concept you need:
sh
node -e "const icons = require('@fluentui/react-icons'); console.log(Object.keys(icons).filter(name => /document.*add/i.test(name) && !/\d/.test(name) && /(?:Regular|Filled)$/.test(name)).join('\n'));"
The example searches document-add icons, excludes numbered-size exports, and keeps filled/regular styles.
- As an alternate, use the Fluent MCP tools:
search_fluent_iconsandvalidate_fluent_iconif available, especially for semantic suggestions. - As an alternate, search the icon repo names for discovery or visual previews:
https://github.com/microsoft/fluentui-system-icons/blob/main/icons_regular.mdorhttps://github.com/microsoft/fluentui-system-icons/blob/main/icons_filled.md. - After choosing an icon through an alternate method, verify that its exact export name exists in the installed
@fluentui/react-iconspackage; the online catalog may include icons from newer versions.
Prefer using the unsized icons without the number suffix, e.g. TextBulletListTreeFilled instead of TextBulletListTree20Filled. This allows the icon to scale dynamically within buttons and other components.
When adding icons to Fluent components, use the bundleIcon utility from @fluentui/react-icons to combine filled and regular icons. For example:
tsx
const TraceIcon = bundleIcon(TextBulletListTreeFilled, TextBulletListTreeRegular);<Button icon={<TraceIcon />} />;