Navigation · practical guide

Edit and export a Tailwind mega menu with Branchlane

A useful category menu needs clear labels, working destinations and a handoff you can edit later. Branchlane is a free navigation component and visual editor for that job. It produces a complete JSON project, a standalone HTML demo, and integration markup with local CSS and JavaScript.

For a quick start, open the menu editor before downloading the full kit. Save an editable JSON file to keep a copy of your work.

The kit is navigation only. It does not implement a cart, checkout, search service, login or storefront backend. You supply the real pages behind its links.

Start with the prebuilt kit

Download and extract the ZIP from the Branchlane product page. From the extracted root, run python3 -m http.server 8804 --bind 127.0.0.1 and open http://127.0.0.1:8804/app/index.html. The prebuilt kit does not need an npm install or a CSS CDN. Follow your browser’s normal security controls when opening downloaded files.

The original Northline Supply sample is fictional. Replace its copy and destinations before using it on your own site.

Make a menu you can save again

  1. Set Brand to Juniper Field Notes, Menu note to Field guides for a quieter weekend., Theme to dark and Accent to clay. Choose Apply identity.
  2. Select the Explore section and its Trail gear column. Select the first link. Set its label to Weekend field kits, destination to #packs, and description to Tools and notes for a short woodland walk. Choose Apply link.
  3. Use the nested-links field for one additional level. Each line takes label | destination | optional description. For example: Care guides | #care | Make good gear last. and Packing notes | #packing | A place for every small thing. Apply the link after editing.
  4. Choose Save JSON. This downloads the entire applied project, including identity, sections, columns, links and options. Unapplied field edits are not saved or exported.

This example comes from an actual browser check of the current kit: the saved project contained those Juniper values; the saved, reopened and post-invalid-input JSON files were identical at 2,432 bytes. That is evidence for this specific example, rather than a promise that every future integration has been tested.

Choose the output that matches your next step

Branchlane output choices
OutputUse it forWhat you still supply
Save JSONA complete editable project backup.A safe place for backups; the editor has no undo history.
Export HTMLA self-contained working navigation demo with the current options, CSS and runtime.Your real content. Included same-page destination sections are synthetic placeholders.
Download integration HTMLMenu markup with relative local style and runtime references.The kit’s lib/ and styles/ folders beside it, plus the real destination pages or content.

Show integration markup also exposes the editable utility HTML in a labeled code field. Copying that fragment does not copy the surrounding document or create destination content. The studio’s decorative scene is not part of your menu markup.

Keep the project recoverable

Save a JSON backup before replacing a project or making large changes. Open project validates the file before showing the inline Replace working project and Keep current project choices. Malformed, unsafe or oversized input preserves applied work. Browser drafts are best effort; if browser storage is unavailable, use the portable JSON file.

For the supplied integration document, keep it at the extracted kit root beside lib/ and styles/. To embed the menu into your own page, load styles/tailwind.css, styles/component.css and lib/navigation.js, copy the generated root, and mount its unique ID:

const controller = Branchlane.mount(
  document.getElementById('your-unique-root-id')
);

Each copy needs its own root, panel and control IDs. The included samples/two-menus.html demonstrates independent instances and destroy/reinitialize controls. If you change the markup, destroy the controller and initialize again. Destroy restores serialized markup, so application event handlers attached to its child content may need rebinding.

Check the menu in the space it actually has

Branchlane switches to its Menu toggle at a 720-pixel component width. This is the menu container’s width. In a narrow layout, panels stack in normal document flow. Test the actual host container as well as a full-width page.

Use Tab to follow normal browser order, Enter or Space to toggle a disclosure, and Escape to close the innermost disclosure and return focus to its trigger. The current browser example recorded a visible 3-pixel focus outline on the nested Weekend field kits control after Escape. Pointer activation and the Care guides destination were also checked. Real screen-reader, physical-touch and other-browser-engine compatibility remain unverified.

Know the limits before integration

A project supports 1–6 sections, 1–4 columns per panel, 1–10 links per column and one extra nested level, with at most 100 total links and a 100 KB JSON file. Destinations can be relative paths, hashes or HTTP(S) URLs; unsafe schemes, protocol-relative URLs and embedded credentials are rejected. Labels are text, rather than HTML.

The kit is free, with no checkout or recurring charge. Its included license permits personal and commercial project use and sharing or embedding the output; redistribution or resale of the entire kit as a competing product is excluded. Tailwind’s MIT terms remain separate. Support, updates and a service level are not guaranteed.

Get Branchlane and the prebuilt menu kit