Skip to main content

Navigation

The dashboard provides a flexible navigation system that allows you to add custom navigation sections and menu items. Navigation items are organized into sections that can be placed in either the "Platform" (top) or "Administration" (bottom) areas of the sidebar.

Adding Navigation Items to Existing Sections

The simplest way to add navigation is to add menu items to existing sections. This is done automatically when you define routes with navMenuItem properties.

src/plugins/my-plugin/dashboard/index.tsx

Available Section IDs

The dashboard comes with several built-in sections that can receive route navMenuItem entries:

  • catalog - For product-related functionality
  • sales - For order management
  • customers - For customer management
  • marketing - For promotions and marketing tools
  • settings - For configuration and admin settings
  • system - For system tools such as the job queue and scheduled tasks

The Insights entry has the ID insights, but it is a top-level navigation item, not a section with child items. Do not use insights as a route navMenuItem.sectionId.

Finding Section IDs & Ordering

You can find the available IDs & their order value for all navigation sections and items using Dev mode:

Dev mode navigation ids

Creating Custom Navigation Sections

You can create entirely new navigation sections with their own icons and ordering:

src/plugins/my-plugin/dashboard/index.tsx

For documentation on all the configuration properties available, see the reference docs:

Section Placement and Ordering

The navigation sidebar is divided into two areas:

  • Top Placement ('top'): The "Platform" area for core functionality (Dashboard, Catalog, Sales, etc.)
  • Bottom Placement ('bottom'): The "Administration" area for system and configuration sections (System, Settings)

Placement Examples

Tsx

Order Scoping

:::important Order Scoping Order values are scoped within each placement area. This means:

  • Top sections compete only with other top sections for positioning
  • Bottom sections compete only with other bottom sections for positioning
  • You can use the same order value in both top and bottom without conflict :::

Default Top-Level Orders

Top Placement (Platform):

  • Insights: 100
  • Catalog: 200
  • Sales: 300
  • Customers: 400
  • Marketing: 500

Bottom Placement (Administration):

  • Settings: 100
  • System: 200

This means if you want to add a section between Catalog and Sales in the top area, you might use order: 250. If you want to add a section between Settings and System in the bottom area, you could use order: 150.

Default Placement

If you don't specify a placement, sections default to 'top' placement.

Modifying Existing Navigation

The navSections property can also be a function. Use this form when you need full control over the existing navigation structure, including moving, removing, renaming, or reordering built-in sections and items.

The function receives the fully registered navigation config after all array-form navSections and route navMenuItem registrations have been applied. Return a new config object rather than mutating the input.

Remove a built-in item

src/plugins/my-plugin/dashboard/index.tsx

Move items into a new section

src/plugins/my-plugin/dashboard/index.tsx

Rename a section

Tsx

Use Dev Mode or the Extension Targets reference to find built-in navigation IDs.

Unauthenticated Routes

By default, all navigation is assumed to be for authenticated routes, i.e. the routes are only accessible to administrators who are logged in.

Sometimes you want to make a certain route accessible to unauthenticated users. For example, you may want to implement a completely custom login page or a password recovery page, which must be accessible to everyone.

This is done by setting authenticated: false in your route definition:

Tsx

This page will then be accessible to all users at http://localhost:4873/dashboard/public

Unauthenticated page

Complete Example

Here's a comprehensive example showing how to create a complete navigation structure for a content management system:

src/plugins/cms/dashboard/index.tsx

Icons

The dashboard uses Lucide React icons. You can import any icon from the library:

Tsx

Common icons for navigation sections:

  • Content: FileTextIcon, EditIcon, BookOpenIcon
  • Media: ImageIcon, FolderIcon, UploadIcon
  • Analytics: BarChartIcon, TrendingUpIcon, PieChartIcon
  • Tools: WrenchIcon, SettingsIcon, CogIcon
  • Integrations: LinkIcon, ZapIcon, PlugIcon

Best Practices

Navigation Design Guidelines
  1. Use descriptive section names: Choose clear, concise names that indicate the section's purpose
  2. Group related functionality: Keep logically related menu items in the same section
  3. Choose appropriate icons: Select icons that clearly represent the section's function
  4. Consider ordering carefully: Place frequently used sections earlier in the navigation
  5. Keep section counts reasonable: Avoid creating too many sections as it can clutter the navigation
  6. Use consistent naming: Follow consistent patterns for menu item names within sections
Was this chapter helpful?
Report Issue
Edited Jun 24, 2026ยทEdit this page