github avatar

Fluentui Blazor

The fluentui-blazor skill guides developers building Blazor applications on how to correctly implement the Microsoft Fluent UI component library, covering setup, component usage, service registration, icon handling, and troubleshooting. It addresses common integration problems such as missing providers causing silent failures, incorrect service lifetime configuration, and improper icon binding by providing specific rules and code examples. This skill is essential for developers unfamiliar with Fluent UI's mandatory provider patterns and Blazor-specific requirements.

skills.sh installs
9K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill fluentui-blazor --agent claude-code

Installs into .claude/skills of the current project.

Files

Fluent UI Blazor — Consumer Usage Guide

This skill teaches how to correctly use the Microsoft.FluentUI.AspNetCore.Components (version 4) NuGet package in Blazor applications.

Critical Rules

1. No manual <script> or <link> tags needed

The library auto-loads all CSS and JS via Blazor's static web assets and JS initializers. Never tell users to add <script> or <link> tags for the core library.

2. Providers are mandatory for service-based components

These provider components MUST be added to the root layout (e.g. MainLayout.razor) for their corresponding services to work. Without them, service calls fail silently (no error, no UI).

<FluentToastProvider />
<FluentDialogProvider />
<FluentMessageBarProvider />
<FluentTooltipProvider />
<FluentKeyCodeProvider />

3. Service registration in Program.cs

builder.Services.AddFluentUIComponents();

// Or with configuration:
builder.Services.AddFluentUIComponents(options =>
{
    options.UseTooltipServiceProvider = true;  // default: true
    options.ServiceLifetime = ServiceLifetime.Scoped; // default
});

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Frontend Development, Git & Pull Requests, Documentation, AI & Agent Building, Debugging, .NET & C#

More from github/awesome-copilot

All 318
1flutter avatarflutter-testing-appsflutter/skillsComprehensive testing framework for Flutter apps across unit, widget, and integration test layers.9Kskills.sh installs
2wondelai avatarios-hig-designwondelai/skillsDesign native iOS interfaces following Apple Human Interface Guidelines. Use when the user mentions "iPhone app", "iPad layout", "SwiftUI", "UIKit", "Dynamic Is8.9Kskills.sh installs
3github avatarlegacy-circuit-mockupsgithub/awesome-copilotGenerate breadboard circuit mockups and visual diagrams using HTML5 Canvas drawing techniques. Use when asked to create circuit layouts, visualize electronic co8.9Kskills.sh installs
4alwaysmeticulous avatarmeticulous-reviewalwaysmeticulous/skillsAnalyze a completed Meticulous test run — fetch the diff summary, inspect representative screenshots, DOM diffs, and timelines. Resolves the test run from the l8.9Kskills.sh installs
5alwaysmeticulous avatarmeticulous-iterative-devalwaysmeticulous/skillsIterative frontend development loop using Meticulous for per-step visual validation. Use when implementing a multi-step frontend change and want to catch visual8.9Kskills.sh installs
6alwaysmeticulous avatarmeticulous-testalwaysmeticulous/skillsRun a Meticulous test run after implementing a frontend change, then hand off to the `meticulous-review` skill to classify each visual change as intended or uni8.8Kskills.sh installs