Opss.DesignSystem.Frontend.Blazor.Components
0.43.0
See the version list below for details.
dotnet add package Opss.DesignSystem.Frontend.Blazor.Components --version 0.43.0
NuGet\Install-Package Opss.DesignSystem.Frontend.Blazor.Components -Version 0.43.0
<PackageReference Include="Opss.DesignSystem.Frontend.Blazor.Components" Version="0.43.0" />
<PackageVersion Include="Opss.DesignSystem.Frontend.Blazor.Components" Version="0.43.0" />
<PackageReference Include="Opss.DesignSystem.Frontend.Blazor.Components" />
paket add Opss.DesignSystem.Frontend.Blazor.Components --version 0.43.0
#r "nuget: Opss.DesignSystem.Frontend.Blazor.Components, 0.43.0"
#:package Opss.DesignSystem.Frontend.Blazor.Components@0.43.0
#addin nuget:?package=Opss.DesignSystem.Frontend.Blazor.Components&version=0.43.0
#tool nuget:?package=Opss.DesignSystem.Frontend.Blazor.Components&version=0.43.0
Opss.DesignSystem.Frontend.Blazor.Components
About
GOV.UK Blazor Frontend contains the components you need to start building a user interface for government platforms and services in Blazor.
It is based on:
- the GOV.UK Design System, and,
- the MOJ Design System.
Dependencies
Beyond the .NET dependencies (which you can find in the relevant section of the nuget page) this component also uses the following node packages (contained within):
- govuk-frontend: 5.8.0
- @ministryofjustice/frontend: 3.3.1
Usage
Add the following namespace to your
_Imports.razorfile:@using Opss.DesignSystem.Frontend.Blazor.ComponentsAdd the following line to your
Program.csfile to utilise the static assets embedded in the package:builder.WebHost.UseStaticWebAssets();Add references to the required CSS and JS files in your
wwwroot/index.html(for Blazor WebAssembly) orPages/_Host.cshtml(for Blazor Server) file:<link href="_content/Opss.DesignSystem.Frontend.Blazor.Components/css/govuk.css" rel="stylesheet" /> <script src="_content/Opss.DesignSystem.Frontend.Blazor.Components/js/govuk.js"></script> <script src="_content/Opss.DesignSystem.Frontend.Blazor.Components/js/moj.js"></script>You can now use the components in your Blazor pages. For example:
<GdsButton Text="Click me" />
Please refer to the showcase project for examples of how to use the components.
Components
For a full list of components please refer to the components project on Github.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
| 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.Authorization (>= 10.0.8)
- Microsoft.AspNetCore.Components.Web (>= 10.0.8)
- Microsoft.AspNetCore.Html.Abstractions (>= 2.3.10)
- Microsoft.AspNetCore.Http (>= 2.3.10)
- Microsoft.AspNetCore.Mvc.Razor (>= 2.3.0)
- Microsoft.Extensions.Caching.Memory (>= 10.0.8)
- Newtonsoft.Json (>= 13.0.4)
- System.Security.Cryptography.Xml (>= 10.0.8)
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 |
|---|---|---|
| 0.43.43-rc-132beaf201ae40cc... | 85 | 10/2/2026 |
| 0.43.42-rc-a9e33b7fd71a2596... | 48 | 10/1/2026 |
| 0.43.42-rc-4c8698ac12381511... | 35 | 10/1/2026 |
| 0.43.41-rc-b3112cbee8476f36... | 70 | 10/1/2026 |
| 0.43.40-rc-88d9f139b766d38e... | 37 | 9/30/2026 |
| 0.43.39-rc-d597c98542dfb469... | 155 | 9/28/2026 |
| 0.43.38-rc-7d05832c908dcaa3... | 77 | 9/28/2026 |
| 0.43.37-rc-9c2e5b66c90f08e4... | 80 | 9/24/2026 |
| 0.43.36-rc-f2c871a8d189ce04... | 81 | 9/24/2026 |
| 0.43.35-rc-be6803e8a1e32268... | 84 | 9/23/2026 |
| 0.43.34-rc-85df0ae5dd84fd1f... | 79 | 9/23/2026 |
| 0.43.34-rc-4c99cb56fa440f33... | 82 | 9/23/2026 |
| 0.43.33-rc-8524b561487b8766... | 161 | 9/23/2026 |
| 0.43.32-rc-c7707f6feae67713... | 85 | 9/23/2026 |
| 0.43.31-rc-eca40eba34f82705... | 960 | 8/14/2026 |
| 0.43.31-rc-bd9157b08dbc646a... | 97 | 8/14/2026 |
| 0.43.30-rc-752f3eaa141a74a9... | 98 | 8/14/2026 |
| 0.43.29-rc-1ee68677d3dfd22b... | 194 | 8/12/2026 |
| 0.43.28-rc-51625249de850188... | 101 | 8/12/2026 |
| 0.43.0 | 437 | 6/9/2026 |