ShellUI.Templates is the internal component-template catalog used by ShellUI.CLI. It supplies the source content and metadata that the CLI copies into a consumer's Blazor project.
This project targets .NET 8 and .NET 10.
ShellUI.Templates sets IsPackable to false and is not published to NuGet. Do not run dotnet add package ShellUI.Templates. The only packable ShellUI projects are:
ShellUI.CLIShellUI.Components
ShellUI.Templates and ShellUI.Core are compiled project dependencies of the CLI tool; consumers do not reference them directly.
After the CLI is installed as a global or local tool, it resolves a component from its registry and writes the selected templates into the target project:
shellui add button
shellui add typed-select command-palette data-picker multi-select tag-inputA local tool uses:
dotnet shellui listThe global tool command is shellui; a local .NET tool is invoked as dotnet shellui.
The registry contains 243 entries:
- 93 direct install targets displayed by
shellui list - 150 hidden dependency entries installed recursively and omitted from the direct list
Each entry provides content plus metadata used by the CLI, including its display name, category, description, target path, version, dependencies, and optional NuGet dependencies. The catalog also includes hidden subcomponents, variants, models, services, JavaScript, and stylesheet assets required by direct targets.
0.3.0 added the direct targets typed-select, command-palette, data-picker, multi-select, tag-input, donut-chart, radar-chart, and radial-chart.
Build and test the repository solution from the repository root:
dotnet restore ShellUI.slnx
dotnet build ShellUI.slnx
dotnet test ShellUI.slnxTemplate changes should keep the catalog, generated files, and component runtime in sync. The repository's test suite covers template compilation, synchronization, safelist drift, and CLI integration behavior.
Historical component counts in old release sections describe those releases, not the current registry.