Channel Menu
ChannelMenu
is only available to apps which are sales channels.
The ChannelMenu
action allows you to create a navigation menu in the sidebar of Shopify admin on desktop. On Shopify mobile, the menu is rendered in a dropdown, like NavigationMenu.

Anchor to SetupSetup
Create an app and import the ChannelMenu
module from @shopify/app-bridge/actions
. The examples in this guide refer to the @shopify/app-bridge
sample app:
In the following example, config
is a valid App Bridge configuration object. Learn more about configuring App Bridge.
Create any number of AppLink
instances and then pass them into ChannelMenu
.
To update the active state for the menu, pass a link to the active
option using the set
method.
App Bridge does not automatically set the active state.
To clear the active link pass undefined
as the active
option using the set
method: