edit this page
Installation
Install Fluent-Windows
Fluent-Windows is available as an npm package.
Install
shell
// with npmnpm install @fluent-windows/core// with yarnyarn add @fluent-windows/core
Please note that react >= 16.8.0 and react-dom >= 16.8.0 are peer dependencies.
SVG Icons
In order to use prebuilt SVG Fluent icons, you must first install the @fluent-windows/icons package:
shell
// with npmnpm install @fluent-windows/icons// with yarnyarn add @fluent-windows/icons
CDN
Two Universal Module Definition (UMD) files are provided:
- one for development: https://unpkg.com/@fluent-windows/core@latest/umd/fluent-windows.development.js
- one for production: https://unpkg.com/@fluent-windows/core@latest/umd/fluent-windows.production.min.js
⚠️ Using this approach in production is discouraged though - the client has to download the entire library, regardless of which components are actually used, affecting performance and bandwidth utilization.