View as Markdown

API reference: @salmonui/buttons/menu

Menufunction

import { Menu } from '@salmonui/buttons/menu';
function Menu(props: MenuProps): ReactElement;

A menu list rendered in place (role="menu", one tab stop with roving focus). MenuButton and SplitButton render the same list in a popup.