NHSW.Components
1.0.0
See the version list below for details.
dotnet add package NHSW.Components --version 1.0.0
NuGet\Install-Package NHSW.Components -Version 1.0.0
<PackageReference Include="NHSW.Components" Version="1.0.0" />
<PackageVersion Include="NHSW.Components" Version="1.0.0" />
<PackageReference Include="NHSW.Components" />
paket add NHSW.Components --version 1.0.0
#r "nuget: NHSW.Components, 1.0.0"
#:package NHSW.Components@1.0.0
#addin nuget:?package=NHSW.Components&version=1.0.0
#tool nuget:?package=NHSW.Components&version=1.0.0
NHSW.Components
An enterprise-grade, accessible Blazor WebAssembly component library implementing the official NHS Wales (NHSW) Design System tokens and presentation guidelines. Built for .NET 10.0.
Features
- Strict WCAG 2.1 AA Compliance: Enforces high contrast ratios, accessible focus flags, and semantic HTML elements natively.
- Zero Custom JS Dependency: Relies natively on Blazor state models, data tracking parameters, and rendering engines.
- Embedded Production Layout Styling: Bundles styles and image resources directly into the shared package assembly metadata.
Getting Started
1. Installation
Install the package via the NuGet Package Manager Console:
NuGet\Install-Package NHSW.Components -Version 1.0.0
2. Register Global Styles and Assets
Open your client application's root wwwroot/index.html file. Ensure you reference the shared embedded static assets from the NuGet library package directly:
<head>
<link rel="stylesheet" href="_content/NHSW.Components/css/nhsw.css" />
<link rel="stylesheet" href="YourApplication.Client.styles.css" />
</head>
3. Register Namespace Usage
Add the component tracking path directly inside your global application _Imports.razor file:
@using NHSW.Components.Layout
Component Suite Quick Reference
Site Header Navigation
<NhswHeader ServiceName="PGx Viewer" />
Site Footer Navigation
<NhswFooter />
License
Distributed cleanly under the official MIT License. See local code configurations for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.