[android-components](../../index.md) / [mozilla.components.browser.menu.view](../index.md) / [MenuButton](index.md) / [menuBuilder](./menu-builder.md)

# menuBuilder

`var menuBuilder: `[`BrowserMenuBuilder`](../../mozilla.components.browser.menu/-browser-menu-builder/index.md)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/menu/src/main/java/mozilla/components/browser/menu/view/MenuButton.kt#L98)

Sets a [BrowserMenuBuilder](../../mozilla.components.browser.menu/-browser-menu-builder/index.md) that will be used to create a menu when this button is clicked.

