The Menu component is a building block for application menus.


focusLast?: boolean
When true, the last element will be focused on mount.
onClickOutside?: () => void
onEscape?: () => void
onItemClick?: () => void
space?: number | number[]

Basic example  

Hover the menu to see the focused item changing.

Example with custom menu items  

The MenuItem component takes a children property for rendering custom menu item .

Updated May 26, 2021 @ 03:25

Made withby folks at