2.0 alpha
These docs describe 2.0. Install it with @once-ui-system/core@alpha.
On 1.8.x? Read the 1.x docs
TrademarkTrademarkDocs
Ctrl k
Search 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. 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.
Prop
Type
Default
menuGroupsrequired
MenuGroup[]
onClose
Called when the menu asks to be dismissed.
() => void
…and every FlexProps propinherited
className
string
style
React.CSSProperties
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club