A vanilla JS plugin that generates a right-click context menu from your Bootstrap navbar. Supports RTL, touch detection, keyboard navigation, and Bootstrap CSS variables.
Interactive Surface
Right-click anywhere outside the excluded fields
Menu ready
Live navigation source
The context menu is generated from this navbar structure. Use the controls to rebuild it, disable it, destroy it, or add a new item on demand.
Menu SourceNavbar Sync
Input ModeLTR
Nav Items0
This editable block is part of the exclusion demo. Right-click inside it to keep the browser menu instead of the BRC menu.
Capability controls
These actions exercise the runtime API and layout behavior without any build process or framework wrapper.
Dynamic updates
Add a new navbar item, then rebuild the right-click menu from the updated markup.
Layout direction
Switch between LTR and RTL to validate mirrored menu positioning and border treatment.
Theme awareness
Swap accent palettes and reapply runtime config so the menu border and active state follow the current theme.
Use the page sections as link targets. The context menu items navigate to these anchors directly.
Menu behavior notes
The custom menu is injected into the page, positioned against available viewport space, styled from CSS variables, and hidden again on click, Escape, or resize.
Anchor targets
Timing, coverage, and other child links exist here so dropdown children resolve to real locations inside this standalone document.