use-igniteui-blazor
O que ela faz
Esta skill adiciona a biblioteca de componentes Ignite UI for Blazor a um app Blazor, incluindo pacotes, configuração de inicialização e estilos. É para desenvolvedores .NET que querem controles de interface prontos, como campos de entrada, caixas de combinação e grades.
Quando usar
- ✓Quando você quer adicionar controles do Ignite UI for Blazor a um app Blazor.
- ✓Quando você precisa configurar os pacotes Lite em um projeto de Blazor Server, WebAssembly ou app web.
- ✓Quando você precisa configurar a folha de estilos do tema ou os estilos de grade.
Link da skill
https://github.com/dotnet/skills/blob/main/plugins/dotnet-blazor/skills/use-igniteui-blazor/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Adicione os componentes Lite de entrada e caixa de combinação do Ignite UI ao meu app Blazor Server e configure o tema.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente verifica os pacotes e a versão do framework do projeto, adiciona os pacotes Lite, registra o serviço na inicialização e conecta a folha de estilos e as importações.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
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
Perguntas frequentes
Qual versão do .NET é necessária?
A versão mínima suportada é o .NET 8.
Os gráficos estão incluídos?
Gráficos e outros componentes premium não fazem parte dos pacotes Lite, então precisam de outro pacote.
Ela substitui pacotes existentes do Ignite UI?
Não. Se o projeto já usa outra família de pacotes do Ignite UI, ela mantém essa família, a menos que você peça para trocar.
Detalhes
Descrição original do autor
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 comp
repo: dotnet/skills
Popularidade
- Estrelas no GitHub
- 5,8 mil
- Posição no ranking
- #14569
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
create-custom-agent
5,8 milAjuda seu agente a criar arquivos de agentes personalizados para o VS Code, com suas próprias ferramentas, instruções e transferências para outros agentes.
create-skill
5,8 milAjuda seu agente a criar uma nova skill de agente com nome válido, uma descrição clara de quando usá-la e um arquivo SKILL.md que segue o padrão.
csharp-scripts
5,8 milAjuda seu agente a rodar um pequeno programa C# como um único arquivo com a ferramenta de linha de comando do .NET, sem criar um projeto completo.
dotnet-pinvoke
5,8 milAjuda seu agente a chamar corretamente bibliotecas nativas em C ou C++ a partir do .NET, cobrindo assinaturas, tratamento de strings, memória e handles seguros.
Skills parecidas
angular-developer
280 milAjuda seu agente a criar código Angular e a dar conselhos sobre a estrutura do projeto. É útil para iniciar novos projetos, criar partes do código ou melhorar a performance e acessibilidade.
frontend-a11y
280 milAjuda seu agente a tornar interfaces web acessíveis para todos. Ele garante que sites e apps funcionem bem com leitores de tela e navegação por teclado.
frontend-patterns
280 milFaz seu agente aplicar padrões modernos no desenvolvimento frontend. Ele otimiza performance, gerencia estado e segue boas práticas em React e Next.js.