Blazor.M3.Templates 1.5.0

dotnet new install Blazor.M3.Templates@1.5.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

Blazor.M3 Templates

Package Rename Notice (v1.0.2) To improve NuGet discoverability and adhere to standard .NET naming conventions, we have renamed our packages and namespaces from BlazorM3 to Blazor.M3.

  • BlazorM3.Standard is now Blazor.M3
  • BlazorM3.Pro is now Blazor.M3.Pro
  • BlazorM3.Templates is now Blazor.M3.Templates

We sincerely apologize for this breaking change. Bumping the version to 1.0.2 marks this migration. Please update your package references and @using statements.

Project templates for the Blazor.M3 component library. This package allows you to quickly scaffold high-fidelity Material Design 3 applications using Blazor.

Installation

Install the templates via the .NET CLI:

dotnet new install Blazor.M3.Templates

Available Templates

Blazor.M3 Web App (Wasm) (blazorm3app)

A client-side Blazor WebAssembly app pre-configured with:

  • Blazor.M3 library integration.
  • M3 Navigation Layout (Top App Bar + Navigation Drawer).
  • Material Design 3 Theming foundation.
  • Responsive navigation layout with dynamic indicators.

Blazor.M3 Web App (Interactive Server) (blazorm3server)

A server-side Blazor Web App (Interactive Server render mode) pre-configured with:

  • Blazor.M3 library integration.
  • M3 Navigation Layout (Top App Bar + Navigation Drawer).
  • Material Design 3 Theming foundation.
  • Configured for .NET 10.0 MapStaticAssets and static asset optimizations.

Getting Started

To create a new project:

# Create a WebAssembly client application
dotnet new blazorm3app -n MyAwesomeClientApp

# Create an Interactive Server application
dotnet new blazorm3server -n MyAwesomeServerApp

Authentication Option (--auth)

Both templates support an optional --auth flag to scaffold a standard login screen and mock authentication flow:

# Scaffold a WebAssembly app with authentication
dotnet new blazorm3app -n MyAwesomeClientApp --auth

# Scaffold an Interactive Server app with authentication
dotnet new blazorm3server -n MyAwesomeServerApp --auth

Mock Authentication Credentials: During development, the scaffolded authentication service accepts any non-empty, valid email format and password to simulate a successful sign-in. This enables testing different page workflows without needing to set up an external identity provider first.

Features in v1.5.0

  • Standard Dependency: Templates pre-configured to reference the stable Blazor.M3 version 1.5.0.
  • Custom Theme Configuration: Includes a commented-out custom theme placeholder block in MainLayout.razor teaching developers how to copy/paste custom palette colors exported from the online theme builder (https://blazorm3.pages.dev).
  • Upgraded Semantic Components: Core dashboards updated to leverage the new semantic Material Design 3 wrapper components (like <M3SuggestionChip>).
  • Adaptive Layouts: Theme-aware hero graphic gradients using color tokens instead of hardcoded hex values.

For more information and documentation, visit blazorm3.pages.dev.

  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.5.0 114 9/14/2026
1.4.1 155 8/26/2026
1.4.0 151 8/23/2026
1.3.0 197 7/27/2026
1.2.0 224 7/11/2026
1.1.1 203 7/7/2026
1.1.0 210 7/7/2026
1.0.3 239 6/26/2026
1.0.2 244 6/24/2026

- Official release v1.5.0: Updated project templates to reference Blazor.M3 v1.5.0 with M3Autocomplete caching and navigation drawer isolation.