Skip to content

Blazor Component Library Template

ConnectSoft.Blazor.ComponentLibraryTemplate (dotnet new connectsoft-blazor-component-library) scaffolds a Razor Class Library solution with design tokens, UI kit adapters, optional gallery and tests, security analyzers, and patterns aligned with ConnectSoft.Extensions. The template engine matches Library / API Library conventions: sourceName renaming, AuthoringMode for the authoring repo, and no __* name placeholders.

When to use it

  • You are building a shared Blazor UI package (RCL) for multiple portals or microfrontends.
  • You want token-driven styling, optional gallery, and ConnectSoft-aligned CI and quality gates.

Full specification

Quick scaffold

dotnet new install ConnectSoft.Blazor.ComponentLibraryTemplate
dotnet new connectsoft-blazor-component-library -n MyCompany.UiKit