© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
Chanda

Adding Custom Page in Navigation

I have created a custom page which I have added in
config
config
as:
 public function panel(Panel $panel): Panel
    {
        return $panel
        ->navigationItems([
            NavigationItem::make('Active Loans')
                ->url('active')
                ->icon('fas-coins')
                ->isActiveWhen(fn (): bool => request()->routeIs('filament.admin.resources.loans.active')),
               
        ]) 
//other lines of codes here 
 public function panel(Panel $panel): Panel
    {
        return $panel
        ->navigationItems([
            NavigationItem::make('Active Loans')
                ->url('active')
                ->icon('fas-coins')
                ->isActiveWhen(fn (): bool => request()->routeIs('filament.admin.resources.loans.active')),
               
        ]) 
//other lines of codes here 

What I want is to add this now to the NavigationGroup. Its appearing on the sidebar but I want it to appear under NavigationGroup. I have tried to add the navigation group inside the custom page itself as:
protected static ?string $navigationGroup = 'Loans';
protected static ?string $navigationGroup = 'Loans';
but its not working
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

sub navigation in custom page
FilamentFFilament / ❓┊help
3y ago
Navigation for custom page
FilamentFFilament / ❓┊help
2y ago
navigation with custom page
FilamentFFilament / ❓┊help
3y ago
Hiding custom page in navigation panel
FilamentFFilament / ❓┊help
3y ago