Early access. Read the blog post

The Menu component is a building block for application menus.

Properties  

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 2w ago
By
the platform for structured content