Skip to content
Discussion options

You must be logged in to vote

Yes. The icons are published as plain SVG files, so you don't need React or Fluent UI components at all.

1. Get the SVGs. The @fluentui/svg-icons package (MIT) contains every icon as a standalone .svg file, named {name}_{size}_{style}.svg, for example icons/question_circle_24_regular.svg or icons/chat_20_filled.svg.

npm install @fluentui/svg-icons

If you'd rather skip npm, each file is also reachable through a CDN. Pin a version:
https://cdn.jsdelivr.net/npm/@fluentui/svg-icons@1.1.345/icons/add_24_regular.svg

2. Use them in ASP.NET Core. Copy just the icons your designer needs into wwwroot/icons/, then either:

  • <img>: the simplest option, but you can't recolor the icon with CSS:
    <img src="…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mikediceMSFT
Comment options

Answer selected by mikediceMSFT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants