Skip to content
TrademarkTrademark
Docs
Modules

MobileMegaMenu

Updated: May 30, 2025
View on GitHub

Use MobileMegaMenu as the mobile counterpart to MegaMenu. It supports dynamic sizing, contextual visibility and content through the same API.

Usage

The MobileMegaMenu component is designed for mobile screens. You can hide it at the large breakpoint by adding the hide boolean prop directly to the component, and overwriting it at a breakpoint using the hide={{l: false}} prop. Make sure you design a desktop navigation that works well with your app.

API reference

Type
Default
menuGroupsrequired
MenuGroup[]—
onClose
Called when the menu asks to be dismissed.
() => void—
…and every FlexProps propinherited—
className
string—
style
React.CSSProperties—

Types

Edit this page on GitHub