Implement menus in Umbraco backoffice using official docs
Menus are extension components that display throughout the Umbraco backoffice interface, including in sidebars and button flyouts. They serve as containers for one or more menu item extensions, enabling organized navigation and action grouping. Menu items are configured separately and can be added to existing menus or custom menus.
Always fetch the latest docs before implementing:
{
"type": "menu",
"alias": "My.Menu",
"name": "My Menu"
}
export const manifests = [
{
type: "menuItem",
kind: "link",
alias: "My.MenuItem",
name: "My Menu Item",
weight: 100,
meta: {
menus: ["My.Menu"],
label: "My Item",
icon: "icon-document",
href: "/my-link"
}
}
];
{
"type": "menuItem",
"kind": "link",
"alias": "My.MenuItem.Help",
"name": "Custom Help Item",
"weight": 300,
"meta": {
"menus": ["Umb.Menu.Help"],
"label": "My Documentation",
"icon": "icon-help",
"href": "https://my-docs.com"
}
}
import { UMB_HELP_MENU_ALIAS } from "@umbraco-cms/backoffice/help";
const manifest = {
type: "menuItem",
kind: "link",
alias: "My.MenuItem.Help",
name: "My Help Item",
meta: {
menus: [UMB_HELP_MENU_ALIAS],
label: "Documentation",
icon: "icon-book"
}
};
"menu" for menu container, "menuItem" for items"link", "default", etc.)That's it! Always fetch fresh docs, keep examples minimal, generate complete working code.