You are viewing the documentation for an older version of this package. You can check the version you are using with the following command:
composer show spatie/menu
Non-list Menus
As of v2.5, you can render menus without ul and li tags. This can be achieved with the setWrapperTag, withoutWrapperTag, setParentTag and withoutParentTag methods.