Menu

Vertical navigation. It deliberately does not use role=menu — that role is for application menus, and applying it to site links makes screen readers announce the page as a program menu. For the menu button pattern, use Dropdown.

With a divider and an action

Menu is navigation, not a widget: the links navigate and Tab moves through them, no arrows. The current item carries aria-current, the divider takes no focus, and the last entry is a button that fires an event instead of navigating.

@components.Menu(components.MenuProps{Entries: []components.MenuEntry{
  {Label: "Home", Href: "/", Current: true},
  components.MenuDivider(),
  {Label: "Sign out", OnClick: "$dispatch('logout')"},
}})