GovUk.Frontend.AspNetCore
5.0.0
dotnet add package GovUk.Frontend.AspNetCore --version 5.0.0
NuGet\Install-Package GovUk.Frontend.AspNetCore -Version 5.0.0
<PackageReference Include="GovUk.Frontend.AspNetCore" Version="5.0.0" />
<PackageVersion Include="GovUk.Frontend.AspNetCore" Version="5.0.0" />
<PackageReference Include="GovUk.Frontend.AspNetCore" />
paket add GovUk.Frontend.AspNetCore --version 5.0.0
#r "nuget: GovUk.Frontend.AspNetCore, 5.0.0"
#:package GovUk.Frontend.AspNetCore@5.0.0
#addin nuget:?package=GovUk.Frontend.AspNetCore&version=5.0.0
#tool nuget:?package=GovUk.Frontend.AspNetCore&version=5.0.0
ASP.NET Core integration for GOV.UK Design System
This library handles two things for you when using the GOV.UK Design System in an ASP.NET Core application: getting the GOV.UK Frontend assets into your project, and rendering the components. The assets are copied in when your project builds, and the components are written as tag helpers that work with your view model.
Below is an example that generates a text input component and a button:
@* Labels, hints and error messages come from the model, or can be specified in markup *@
<govuk-input for="EmailAddress">
<label>Email address</label>
<hint>We'll only use this to send you a receipt</hint>
</govuk-input>
<govuk-button>Submit</govuk-button>
See the full documentation for installation and usage guides.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on GovUk.Frontend.AspNetCore:
| Package | Downloads |
|---|---|
|
ThePensionsRegulator.GovUk.Frontend
Based on the GOV.UK Design System and GovUk.Frontend.AspNetCore. Adds extra features and components. |
|
|
ThePensionsRegulator.Frontend
Based on the GOV.UK Design System and GovUk.Frontend.AspNetCore. Adds extra components targeted at The Pensions Regulator including The Pensions Regulator branding. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0 | 570 | 9/25/2026 |
| 4.4.1 | 83 | 9/24/2026 |
| 4.4.0 | 9,623 | 7/27/2026 |
| 4.3.1 | 53 | 9/24/2026 |
| 4.3.0 | 1,143 | 7/18/2026 |
| 4.2.2 | 54 | 9/24/2026 |
| 4.2.1 | 4,347 | 6/23/2026 |
| 4.1.1 | 5,493 | 5/5/2026 |
| 4.1.0 | 4,044 | 4/21/2026 |
| 4.0.1 | 2,390 | 4/5/2026 |
| 4.0.0 | 266 | 3/29/2026 |
| 3.5.1 | 13,496 | 1/27/2026 |
| 3.4.3 | 5,569 | 1/12/2026 |
| 3.4.1 | 13,933 | 10/22/2025 |
| 3.4.0 | 9,968 | 10/17/2025 |
| 3.3.0 | 4,597 | 9/26/2025 |