Skip to content

All tag helpers

Each tag helper is used either as its own element, such as <our-svg>, or as an attribute you add to any HTML element, such as our-if. The badge shows the package version it arrived in. A Coming badge means it’s on the development branch but not yet in a stable release on NuGet.

Tag helperUsed asWhat it doesSince
our-active-classAttributeAdds a CSS class to a link when it points to the current page or one of its ancestors.Added in v0.6.0
<our-bytes>ElementShows a number of bytes, or a media item's file size, as a readable size such as 1.1 MB.Coming in v2.1.0
<our-cache>ElementASP.NET Core's cache tag helper, turned off in preview and debug, and cleared when content is published.Added in v0.8.0
our-controllerAttributePosts a plain HTML form to an Umbraco surface controller, instead of Html.BeginUmbracoForm.Added in v0.1.0
<our-dictionary>ElementOutputs a dictionary translation for the current page's language, with fallbacks.Added in v0.1.0
<our-edit-link>ElementShows a link to edit the current page in the backoffice, only to users who can edit content.Added in v0.4.0
<our-fallback>ElementOutputs a property using Umbraco's fallback modes, or the content inside the tag when there's no value.Added in v0.2.0
<our-hreflang>ElementOutputs the hreflang alternate links for each language version of the current page.Coming in v2.1.0
our-ifAttributeRenders an element and its children only when an expression is true.Added in v0.1.0
<our-img>ElementRenders a fast, responsive <img> or <picture> from a media item or file, with crops and lazy loading.Added in v1.0.0
<our-lang-switcher>ElementRenders a language switcher for every language and domain, with a Mustache template for the markup.Added in v0.1.0
<our-link>ElementRenders a link from a Multi URL Picker, with an optional fallback when no link is set.Added in v0.7.0
our-member-includeAttributeShows or hides an element depending on the logged-in member's member groups.Added in v0.3.0
our-self-hostAttributeDownloads a third-party script, stylesheet or image once and serves it from your own site.Added in v1.2.0
<our-svg>ElementInlines an SVG file or media item into the page, with caching, a viewBox fix and script removed.Added in v0.1.0
our-text-ifAttributeFills an empty element with a value, or leaves the element out when the value is empty.Coming in v2.1.0
our-user-includeAttributeShows or hides an element depending on the logged-in backoffice user's user groups.Added in v0.5.0
<our-version>ElementPrints the version number of your website project, or of any loaded assembly.Added in v0.2.0

Looking for <our-macro>? It was removed in version 2.0.0. See Removed tag helpers.