Loading...
Loading...
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.
npx skill4agent add dotnet/skills use-igniteui-blazorIgniteUI.BlazorIgniteUI.Blazor.Trialdotnet add package IgniteUI.Blazor.Lite # OSS core UI components (MIT)
dotnet add package IgniteUI.Blazor.GridLite # OSS lightweight grid (MIT)IgniteUI.Blazor.LiteIgbInputIgbComboIgbDialogIgniteUI.Blazor.GridLiteIgniteUI.Blazor.ComboIgniteUI.Blazor.LiteProgram.csbuilder.Services.AddIgniteUIBlazor(); // no modules pre-loaded; each loads on first rendertypeof(Igb<Name>Module)builder.Services.AddIgniteUIBlazor(
typeof(IgbInputModule), typeof(IgbComboModule), typeof(IgbDialogModule));Igb{ComponentName}ModuleAddIgniteUIBlazor()IgniteUI.Blazor.GridLite.csprojdotnet add Server/Server.csproj package IgniteUI.Blazor.Lite
dotnet add Client/Client.csproj package IgniteUI.Blazor.LiteIgniteUI.Blazor.GridLiteAddIgniteUIBlazor()Program.cs// Server
builder.Services.AddRazorComponents()
.AddInteractiveServerComponents()
.AddInteractiveWebAssemblyComponents();
builder.Services.AddIgniteUIBlazor();
// Client (WebAssemblyHostBuilder)
builder.Services.AddIgniteUIBlazor();AddIgniteUIBlazor()Program.cs_Imports.razor@using IgniteUI.Blazor.Controls_Imports.razorwwwroot/index.htmlPages/_Host.cshtmlComponents/App.razorIgniteUI.Blazor.Lite<link href="_content/IgniteUI.Blazor/themes/light/bootstrap.css" rel="stylesheet" />_content/IgniteUI.Blazor/themes/{light|dark}/{bootstrap|material|fluent|indigo}.css<link rel="stylesheet" href="@Assets["_content/IgniteUI.Blazor/themes/light/bootstrap.css"]" />IgniteUI.Blazor.GridLite<link href="_content/IgniteUI.Blazor.GridLite/css/themes/light/bootstrap.css" rel="stylesheet" />@rendermode InteractiveServerApp.razor<Routes @rendermode="InteractiveServer" />InteractiveWebAssemblyInteractiveAutoInteractiveServer