Skip to content
This repository was archived by the owner on May 30, 2026. It is now read-only.
This repository was archived by the owner on May 30, 2026. It is now read-only.

Icons appearing above the menu items in the user menu #66

Description

@peoplebankDev

I'm using the MenuDisclosure to create a custom user menu where the application settings will be held. But the icons are appearing above the menu items and not inline like in your example project. I also tried installing the Font Awesome icons but the command you gave does not appear to do anything.

Here is my code, the font awsome icon does not appear and hero icons are above the menu item. Am I missing something here?

`
Nova::userMenu(function (Request $request, Menu $menu) {

            $menu->prepend(
                NovaMenuItem::make(
                    'My Profile',
                    "/resources/users/{$request->user()->getKey()}"
                )
            );

            $menu->prepend(
                NovaMenuDisclosure::make('Settings', [
                    NovaMenuItem::make('General Settings', '/settings'),
                    NovaMenuItem::make('Nova Settings', '/nova-settings'),
                ])->icon('cog')
            );

            $menu->prepend(
                NovaMenuDisclosure::make('Company Structure', [
                    NovaMenuItem::resource(Organisation::class)
                    NovaMenuItem::resource(Country::class),
                ])->faIcon('fa-solid fa-house')
            );

            $menu->prepend(
                NovaMenuDisclosure::make('Statuses', [
                    NovaMenuItem::resource(Status::class),
                  
                ])->icon('clipboard-list')
            );

            return $menu;
        });`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions