Content and language
Less C# in your Razor, more HTML
Our Umbraco TagHelpers is a community package of ASP.NET Core tag helpers for Umbraco CMS. Translations, member-only content, responsive images, inline SVGs and more, written as HTML. One NuGet package for Umbraco 16, 17, 18 and 19.
Install in two steps
Section titled “Install in two steps”Add the package to your Umbraco website project:
dotnet add package Our.Umbraco.TagHelpersThen register the tag helpers at the bottom of Views/_ViewImports.cshtml:
@addTagHelper *, Our.Umbraco.TagHelpersBefore and after
Section titled “Before and after”Tag helpers turn Razor logic into attributes and elements. This link only renders when the content picker has a value, and so does the image inside it:
@if (Model.ContentPickerThing != null){ <a href="@Model.ContentPickerThing.Url()" class="btn"> <span>@Model.ContentPickerThing.Name</span> @if (Model.LinkMediaPicker != null) { <img src="@Model.LinkMediaPicker.Url()" /> } </a>}<a our-if="Model.ContentPickerThing != null" href="@Model.ContentPickerThing?.Url()" class="btn"> <span>@Model.ContentPickerThing?.Name</span> <img our-if="Model.LinkMediaPicker != null" src="@Model.LinkMediaPicker?.Url()" /></a>What’s in the package
Section titled “What’s in the package”Show or hide
our-if, our-text-if, and
members or backoffice users only.
Performance
Responsive <our-img>, inline <our-svg>,
<our-cache> and our-self-host.
Site building
Built by the Umbraco community
Section titled “Built by the Umbraco community”Our Umbraco TagHelpers is a community project: the tag helpers, fixes, tests and these docs come from people across the Umbraco community.
Meet the contributors, or find out how to join them.
Release notesWhat changed in each version, straight from GitHub.
A community project for Umbraco, open source under the MIT licence.











