fluentui-blazor

Integrate Microsoft.FluentUI.AspNetCore.Components into Blazor applications.

Updated Dec 28, 2025
One-click install
npx skills add https://github.com/74nu5/Narratum --skill fluentui-blazor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fluentui-blazor
Source: https://github.com/74nu5/Narratum/tree/main/.github/skills/fluentui-blazor
Command: npx skills add https://github.com/74nu5/Narratum --skill fluentui-blazor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance on effectively integrating and utilizing the Microsoft Fluent UI Blazor component library within Blazor applications, simplifying development and troubleshooting.

Core Features & Use Cases

  • Component Integration: Learn how to set up and use various Fluent UI components like FluentButton, FluentDataGrid, FluentDialog, and more.
  • Provider Configuration: Understand the necessity and correct placement of provider components (FluentToastProvider, FluentDialogProvider, etc.) for service-based components.
  • Service Registration: Get clear instructions on registering Fluent UI services in Program.cs.
  • Iconography: Master the usage of the strongly-typed icon system.
  • Data Binding: Understand the specific binding patterns for list components (FluentSelect, FluentAutocomplete).
  • Dialogs & Toasts: Implement custom dialogs and toast notifications using the provided services.
  • Theming & Layout: Configure themes and build responsive layouts using Fluent UI's layout components.
  • Use Case: A developer building a new Blazor application needs to implement a data grid with sorting and filtering, a modal dialog for editing records, and toast notifications for user feedback. This Skill provides all the necessary steps and code examples.

Quick Start

Add the necessary providers to your root layout and register the Fluent UI services in Program.cs.

Frequently Asked Questions about fluentui-blazor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Fluent UI Blazor components in my application?

To set up Fluent UI Blazor components, register the services in Program.cs and add necessary provider components like FluentToastProvider and FluentDialogProvider to your root layout.

Why are my Fluent UI dialogs or toasts not displaying in Blazor?

Fluent UI dialogs and toasts fail to display when their respective provider components are missing from the root layout. You must add FluentDialogProvider and FluentToastProvider to your main layout file to enable these services.

How do I bind data to FluentSelect and FluentAutocomplete components?

Fluent UI Blazor list components like FluentSelect and FluentAutocomplete require specific data binding patterns to properly map collections. You must configure the binding properties specifically designed for handling list data sources in these components.

Can I use strongly-typed icons with Microsoft Fluent UI in Blazor?

Yes, Fluent UI Blazor supports a strongly-typed icon system. You can utilize this feature by referencing the specific icon library and implementing the provided icon handling patterns to ensure type safety during development.

What is the best way to implement a data grid with modal editing in Blazor?

The best way to implement a data grid with modal editing in Blazor is using FluentDataGrid for displaying data and FluentDialog for editing records. You register the dialog service and call it to render custom modal components.

Does Fluent UI Blazor require JS interop for component functionality?

Fluent UI Blazor components mostly handle functionality natively in C#, but certain features like specific dialog operations do require JS interop. You must ensure JS interop is correctly configured to avoid runtime errors.