Generated banner for Use Igniteui Blazor
Generated logo for Use Igniteui Blazor

Use Igniteui Blazor

.NET (Microsoft)OfficialPublished by .NET (Microsoft)

  • Skill
  • Tool integration
  • Software development
  • MIT
  • No issues found

From the author

Add, configure, or review Ignite UI for Blazor Lite component support in Blazor applications. USE FOR: installing IgniteUI.Blazor.Lite or IgniteUI.Blazor.GridLite, registering AddIgniteUIBlazor() in Blazor Server, WASM, Hybrid, or split Blazor Web App projects, adding @using IgniteUI.Blazor.Controls, wiring the theme stylesheet, picking the right host page, locating the GridLite stylesheet path, explaining single-project vs split Server/Client Web App setup differences, and checking where an interactive render mode is needed for Ignite UI components to work. DO NOT USE FOR: general Blazor component authoring without Ignite UI, choosing app architecture or render mode from scratch (see create-blazor-project), JavaScript interop (see use-js-interop), authentication (see configure-auth), prerendering (see support-prerendering), or layout/component design questions that need no Ignite UI setup.
— the description by .NET (Microsoft)

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides a structured approach to integrating Ignite UI for Blazor Lite and GridLite into various Blazor project types, including Server, WebAssembly, and Hybrid applications. It covers essential setup steps such as NuGet package installation, service registration in Program.cs, namespace configuration, and theme stylesheet management. The guide also addresses specific requirements for split-project Blazor Web Apps and the necessity of interactive render modes for proper component functionality.

What it does

  • Installs IgniteUI.Blazor.Lite or IgniteUI.Blazor.GridLite NuGet packages.
  • Registers Ignite UI services in Program.cs for different Blazor hosting models.
  • Configures _Imports.razor to include necessary component namespaces.
  • Links required theme stylesheets in host pages for correct component styling.
  • Explains render mode requirements for interactive Blazor Web App components.
  • Provides guidance on eager module loading to optimize initial render performance.

When to use it

  • When starting a new Blazor project that requires Ignite UI Lite or GridLite components.
  • When adding Ignite UI components to an existing Blazor Server, WASM, or Hybrid application.
  • When troubleshooting unstyled components or missing functionality in a Blazor Web App.
  • When setting up a split-project Blazor Web App that requires Ignite UI support across both server and client projects.

Advantages

  • Ensures correct package selection between Lite and GridLite versions.
  • Prevents common configuration errors related to service registration and stylesheet linking.
  • Clarifies the specific needs of interactive render modes for Blazor Web Apps.
  • Provides clear instructions for both single-project and split-project architectures.

Usage examples

“How do I add Ignite UI Lite to my Blazor Web App?”
The agent provides the commands to install the NuGet package, instructions to register the service in Program.cs, and the necessary link tag for the theme stylesheet.
“Why are my Ignite UI components not rendering correctly in my Blazor Web App?”
The agent checks if the interactive render mode is applied and verifies that the theme stylesheet is correctly linked in the host page.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/dotnet/use-igniteui-blazor/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip use-igniteui-blazor.zip -d .agents/skills

Documentation by .NET (Microsoft)

Application Setup & Component Registration

1. NuGet package

Before adding packages, inspect the target projects' target framework and existing package references. The lowest supported target framework version is .NET 8.0. If IgniteUI.Blazor or IgniteUI.Blazor.Trial is already referenced, keep that package strategy and do not add Lite or GridLite. Only switch package families when the user explicitly asks, replacing conflicting references rather than keeping both.

dotnet add package IgniteUI.Blazor.Lite       # OSS core UI components (MIT)
dotnet add package IgniteUI.Blazor.GridLite   # OSS lightweight grid (MIT)

Use IgniteUI.Blazor.Lite for core controls such as IgbInput, IgbCombo and IgbDialog, and IgniteUI.Blazor.GridLite for the lightweight grid. Reference both packages only when the app needs both. Do not invent per-component packages such as IgniteUI.Blazor.Combo.

Charts, maps, gauges and other premium components are not included in Lite. Check the requested component's package before recommending a reference.

2. IgniteUI.Blazor.Lite Service Registration

Usually in Program.cs:

builder.Services.AddIgniteUIBlazor();   // no modules pre-loaded; each loads on first render

Pass typeof(Igb<Name>Module) values to eagerly pre-load a specific set instead:

builder.Services.AddIgniteUIBlazor(
    typeof(IgbInputModule), typeof(IgbComboModule), typeof(IgbDialogModule));

Module names always follow Igb{ComponentName}Module. Passing modules eagerly loads them during startup, increasing the initial transfer to reduce first-render latency. Components not listed still register their own modules on first render.

For a GridLite-only setup, do not call AddIgniteUIBlazor() or add manual Ignite UI script tags. Reference IgniteUI.Blazor.GridLite, add the control namespace, and link the GridLite stylesheet shown below.

Split Blazor Web App: add each required package to both the Server and Client .csproj files. For core controls, use the actual project paths in place of these examples.

dotnet add Server/Server.csproj package IgniteUI.Blazor.Lite
dotnet add Client/Client.csproj package IgniteUI.Blazor.Lite

If GridLite is needed, add IgniteUI.Blazor.GridLite to both projects as well. For a GridLite-only app, add only that package and skip the service registrations below.

For Lite, call AddIgniteUIBlazor() in both the server and client Program.cs.

// Server
builder.Services.AddRazorComponents()
    .AddInteractiveServerComponents()
    .AddInteractiveWebAssemblyComponents();
builder.Services.AddIgniteUIBlazor();

// Client (WebAssemblyHostBuilder)
builder.Services.AddIgniteUIBlazor();

For a single-project Interactive Server Blazor Web App, call AddIgniteUIBlazor() once in the server Program.cs. Do not add a client project or WebAssembly services.

3. _Imports.razor

@using IgniteUI.Blazor.Controls

Add it to both _Imports.razor files in split Blazor Web App solutions.

4. Host page — theme stylesheet

Host page is wwwroot/index.html (WASM/MAUI), Pages/_Host.cshtml (Server), or Components/App.razor (Web App).

IgniteUI.Blazor.Lite 0.1.1 loads its JavaScript automatically through a Blazor initializer. Keep the existing Blazor framework script and add the theme stylesheet below. Do not add a manual Ignite UI script tag.

<link href="_content/IgniteUI.Blazor/themes/light/bootstrap.css" rel="stylesheet" />

The stylesheet is required: without it components render unstyled.

Theme files under _content/IgniteUI.Blazor/themes/ are {light|dark}/{bootstrap|material|fluent|indigo}.css — link exactly one.

.NET 9+ Web App projects can use the fingerprinted asset collection:

<link rel="stylesheet" href="@Assets["_content/IgniteUI.Blazor/themes/light/bootstrap.css"]" />

IgniteUI.Blazor.GridLite ships its own stylesheet from its own asset root, but should be used only if you are using the GridLite component exclusively. If you are using other Ignite UI components, do not link (or suggest) the GridLite stylesheet — use the main theme stylesheet above instead.

<link href="_content/IgniteUI.Blazor.GridLite/themes/light/bootstrap.css" rel="stylesheet" />

5. Render mode (Blazor Web App only)

Ignite UI components need an interactive render mode; static SSR renders nothing usable.

@rendermode InteractiveServer

Or globally in App.razor: <Routes @rendermode="InteractiveServer" />.

Use InteractiveWebAssembly or InteractiveAuto in place of InteractiveServer as needed.

Files

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
.NET (Microsoft)
Publisher
.NET (Microsoft) (Official)
Source
dotnet/skills · plugins/dotnet-blazor/skills/use-igniteui-blazor · commit 96c3d68
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by .NET (Microsoft).

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download use-igniteui-blazor.zip