⭐ We appreciate your star, it helps!
The Microsoft.Fast.Components.FluentUI package provides a lightweight set of Blazor component wrappers around Microsoft's official FluentUI Web Components. The FluentUI Web Components are built on FAST and work in every major browser. To get up and running with Microsoft.Fast.Components.FluentUI see the Getting Started section below.
The source for @fluentui/web-components is hosted in the Fluent UI monorepo.
To get started using Microsoft.Fast.Components.FluentUI, you will need both the Nuget package and the accompanying Web Component implementations. First, install the Nuget package. If using the .NET CLI, you can run the following command to accomplish that.
dotnet add package Microsoft.Fast.Components.FluentUINext, add a script tag to your index or main layout to reference the web components:
<script type="module" src="https://unpkg.com/@fluentui/web-components"></script>Note: If the script reference is added to a
.razoror.cshtmlfile, you will need to escape the@with a second@like sohttps://unpkg.com/@@fluentui/web-components.
Once these steps are completed, you can then begin using the components throughout your Blazor application. Take a look in the examples folder of this repository to see how to use the various components.
Looking to get answers to questions or engage with us in realtime? Our community is most active on Discord. Submit requests and issues on GitHub, or join us by contributing on some good first issues via GitHub.
We look forward to building an amazing open source community with you!