@webx-ui/module-menu

Menus for the WebX UI admin panel: named menus, a tree of items, and what each one points at.
3,844
Install
npm install @webx-ui/module-menu
Latest Version:0.2.2
Vue:3
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: ahabzig

@webx-ui/module-menu

Menus as a section of the WebX UI admin panel: the named menus of a site, the tree of items in each one, and what every item points at.

The other half is webx-ui/module-menu on the server, which holds the menus and renders them. Neither is useful alone.

Install

pnpm add @webx-ui/module-menu
import { createAdmin } from '@webx-ui/module-admin'
import { menu } from '@webx-ui/module-menu'
import '@webx-ui/module-menu/style.css'

createAdmin({
  modules: [menu()],
})

The section appears among the content sections once the Composer half is installed and migrated. Permissions: menu.view, menu.manage.

What it brings

  • /menus — the menus on the left, the items of the open one on the right. Which menu is open travels in the address, so a link to the footer is a link somebody can send.
  • Dragging changes both the order and the parent: every level is its own list, and where a row ends up is where it is.
  • An item points at three things — an entity chosen from the picker, an address of your own, or nothing at all, which is what a heading is. The picker is WxLinkPicker from @webx-ui/module-admin, the same one every link field in the panel uses.
  • The cache is marked under each menu — "built today at 08:10", "not built", "off" — with a reset beside it and one for every menu in the head of the section. It is what somebody presses to test the guess that they are looking at something stale.

Licence

MIT

Related Packages

@webx-ui/module-pages

Pages for the WebX UI admin panel: the tree of a site's pages, their addresses,...

7,462 0
@webx-ui/module-blog

Blog for the WebX UI admin panel: articles made of blocks, rubrics and tags, sch...

6,583 0
@webx-ui/module-services

Services for the WebX UI admin panel: a catalogue of services made of blocks, fl...

4,031 0
@webx-ui/module-faq

FAQ for the WebX UI admin panel: questions and answers with flat categories, ord...

3,160 0
@webx-ui/module-recipes

Recipes for the WebX UI admin panel: a gallery, ingredients, method and nutritio...

3,094 0

Version History

Version Released License
0.2.2 MIT
0.2.1 MIT
0.2.0 MIT
0.1.22 MIT
0.1.21 MIT