Menu offers item customization with the item template that receives the menuitem instance from the model as a parameter. When item templating is used, bind the action prop from the slot props to handle accessibility and pass through attributes. The submenu header has its own submenuheader template and additional slots named start and end are provided to embed content before or after the menu.