BlazorM3.Templates 1.0.2

Suggested Alternatives

Blazor.M3.Templates

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

BlazorM3 Templates

This package has been renamed and moved. To align with standard .NET conventions and improve discoverability, we have renamed this library to Blazor.M3.Templates.

  • Please uninstall BlazorM3.Templates and install the new package Blazor.M3.Templates instead.
  • To install the new templates, run: dotnet new install Blazor.M3.Templates

Bumping to 1.0.2 is a legacy release to support this migration notice. No new features will be published to this ID.

Project templates for the BlazorM3 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 BlazorM3.Templates

Available Templates

BlazorM3 Web App (Wasm) (blazorm3app)

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

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

BlazorM3 Web App (Interactive Server) (blazorm3server)

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

  • BlazorM3.Standard 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.0.0

  • Standard Dependency: Templates pre-configured to reference BlazorM3.Standard version 1.0.0.
  • Aligned Layouts & Styles: Synchronized side menus, top app bars, layouts, and typography directly with the stable website showcase.

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.

- Official stable release v1.0.0.