uNavbar 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package uNavbar --version 1.0.4
                    
NuGet\Install-Package uNavbar -Version 1.0.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="uNavbar" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="uNavbar" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="uNavbar" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add uNavbar --version 1.0.4
                    
#r "nuget: uNavbar, 1.0.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package uNavbar@1.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=uNavbar&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=uNavbar&version=1.0.4
                    
Install as a Cake Tool

uNavbar

A commercial-grade navigation package for Umbraco 17+.

Features

  • Dynamic Navigation: Manage your site's main menu via the "Site Settings" node.
  • Branding Control: Upload a logo and set your brand name directly from the backoffice.
  • Responsive: Includes a lightweight, dependency-free responsive navbar.
  • Performance Optimized: Uses efficient queries to ensure zero impact on site speed.

Installation

  1. Install the package via NuGet.
  2. Build and run your Umbraco site (ensure a valid umbracoDbDSN connection string is configured).
  3. On first startup, the migration will create the Site Settings document type and also add a Site Settings node at the content root.
  4. If, for any reason, the Site Settings node is not visible under Content, simply right‑click the root of the content tree, choose Create, and select Site Settings to create it manually.
  5. Go to the Site Settings node and configure your links and branding.
    • Note: The Header Logo picker is unfiltered by default to maximize compatibility (SVG, PNG, JPG, etc.). You can manually apply filters in the Umbraco backoffice under Settings > Data Types > uNav Logo Picker if required.

Usage

After installing the package and building your project, the Navigation.cshtml partial view will be automatically copied to Views/Partials/Navigation.cshtml (if it doesn't already exist).

Include the partial view in your layout file using either option:

Option 1 - Standard location (recommended):

@await Html.PartialAsync("Navigation")

Option 2 - Full path:

@await Html.PartialAsync("~/App_Plugins/uNav.Common/content/Views/Partials/Navigation.cshtml")

Note: Files in App_Plugins/uNav.Common/ may appear as read-only (this is normal for NuGet package files). The copy in Views/Partials/Navigation.cshtml is writable and can be customized. If you customize it, the package will not overwrite your customizations on future updates.

CSS Customization

The navigation bar uses unav-* classes. You can override these in your own stylesheet or edit navbar-custom.css to match your brand colors.

Requirements

  • Umbraco 17+

Content Delivery API Support

uNavbar is compatible with the Umbraco Content Delivery API. To consume your navigation and branding data via API, you must enable both the Content and Media Delivery APIs in your appsettings.json:

{
  "Umbraco": {
    "CMS": {
      "DeliveryApi": {
        "Enabled": true,
        "PublicAccess": true,
        "Media": {
          "Enabled": true,
          "PublicAccess": true
        }
      }
    }
  }
}

Once enabled, you can fetch the Site Settings data via the standard Umbraco Delivery API endpoints.

Step 1

Install the uNavbar NuGet package. Install uNavbar Nuget package

Step 2

Rebuild and run the solution, then configure Umbraco. Fill the necessary details and setup umbraco

Step 3

Log in to the backoffice. The Site Settings content node should be automatically created. Site Settings Node

Step 4

The Site Settings document should appear with the following properties: Site Settings Properties

Step 5

Add the relevant documents to show in the Navbar by following these steps: Go to the Settings tab and create appropriate Document Types and Templates. Document Types and Templates

Step 6

Ensure you toggle Allow as Root for the documents you want to show in the content section root. Set Home as a Root element

Step 7

Register the documents inside the Content tab. Register the documents inside Content tab

Step 8

Add child document support to the root documents. Go to the document settings and add child document support

Step 9

Select the appropriate allowed child node types. Select the appropriate allowed child node types

Step 10

Add child documents to the root documents. Add child documents to the root documents

Step 11

The structure should look like the image below. You can now configure the navigation bar menus. Final Structure

Step 12

Select Add and choose the content options. Choose Content Options

Step 13

Currently, you can select only one content item at a time. Select only one content

Step 14

The final structure should look like this: Final structure

Troubleshooting

If you encounter the error: "The chosen media type is not valid", follow these steps: The chosen media type is not valid

  1. Go to Settings > Data Types and select the property editor used for the Logo. Select the property editor used for logo

  2. Remove the default media type filter. Remove the default media type

  3. Choose Image as the allowed type. Choose appropriate media type

  4. Publish the document again, and it should work.

Final Setup

Register the CSS and partial view as shown in the "Usage" section of this README. Register CSS and partial view

You will now see the navigation bar. You can always customize the CSS to fit your needs. Ready navigation bar

🤝 Support

For support, feature requests, or bug reports:

📄 License

Copyright © Atharva IT Services Pvt. Ltd.

This package is free to use for the Umbraco community.

🏢 About Atharva IT Services

Atharva IT Services Pvt. Ltd. a global software development company in Ahmedabad, excels in e-commerce solutions, web development, and software testing.

Made with ❤️ by Atharva IT Services

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.4.0 140 6/18/2026
1.3.0 113 6/15/2026
1.2.0 108 6/10/2026
1.1.0 112 6/2/2026
1.0.8 110 5/5/2026
1.0.7 131 3/11/2026
1.0.6 116 2/3/2026
1.0.5 117 2/3/2026
1.0.4 123 2/3/2026
1.0.3 122 1/28/2026
1.0.1 122 1/27/2026
1.0.0 125 1/23/2026