This guide will walk you through setting up UmbNav in your Umbraco site, from installation to rendering your first navigation menu.
Prerequisites
Umbraco 17.0.0 or higher
.NET 10.0 or higher
Visual Studio 2022 or VS Code (recommended)
Step 1: Install UmbNav
Install via NuGet Package Manager:
# Full package (UI + Core)dotnetaddpackageUmbraco.Community.UmbNav# Or just the core (for headless/API scenarios)dotnetaddpackageUmbraco.Community.UmbNav.Core
Or via Package Manager Console in Visual Studio:
Install-Package Umbraco.Community.UmbNav
Step 2: Create a Data Type
Log into the Umbraco backoffice
Navigate to Settings → Data Types
Click Create → New Data Type
Enter a name (e.g., "Main Navigation")
Select UmbNav from the Property Editor dropdown
Configure the options as needed (see Configuration)
Click Save
Step 3: Add to a Document Type
Navigate to Settings → Document Types
Edit your "Home" or "Site Settings" document type
Add a new property using your UmbNav Data Type
Save the document type
Step 4: Build Your Menu
Navigate to Content in the backoffice
Edit the node where you added the UmbNav property
Use the interface to build your menu:
Click Add to add new items
Choose between Content, Link, or Text items
Drag and drop to reorder
Nest items by dragging them under parent items
Save and publish
Step 5: Render the Menu
Create or edit a Razor view (e.g., Views/Partials/Navigation.cshtml):
Include the partial in your layout:
Understanding Menu Item Types
UmbNav supports three types of menu items:
Content Items (Document)
Links to Umbraco content nodes. The URL is automatically resolved from the content, supporting multi-language sites and URL changes.
Best for: Internal site pages, blog posts, product pages
Link Items
External URLs or custom links. You have full control over the URL.
Best for: External websites, anchor links, mailto: links, tel: links
Text Items (Labels)
Non-clickable text labels. Useful for grouping items or creating mega menu headings.
Best for: Menu section headings, category labels in mega menus
What's Next?
Configuration - Learn about all configuration options