© 2026 Hedgehog Software, LLC

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

Sub Navigation in ListView for Custom Page

Hi, I want to display a sub navigation in the ListView for a custom page (which does not interact with any record).

I have a subnavigation for my records setup already in my CustomerResource:
    public static function getRecordSubNavigation(Page $page): array
    {
        return $page->generateNavigationItems([
            Pages\Overview::class,
            Pages\Projects::class,
        ]);
    }

    public static function getPages(): array
    {
        return [
            'index' => Pages\ListCustomers::route('/'),
            'overview' => Pages\Overview::route('/{record}'),
            'projects' => Pages\Projects::route('/{record}/projects'),
        ];
    }
    public static function getRecordSubNavigation(Page $page): array
    {
        return $page->generateNavigationItems([
            Pages\Overview::class,
            Pages\Projects::class,
        ]);
    }

    public static function getPages(): array
    {
        return [
            'index' => Pages\ListCustomers::route('/'),
            'overview' => Pages\Overview::route('/{record}'),
            'projects' => Pages\Projects::route('/{record}/projects'),
        ];
    }


But how can I display a sub navigation on the ListCustomers Page for a custom Page?

Thank you!
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
Custom HTML In Sub-navigation groups
FilamentFFilament / ❓┊help
10mo ago
Adding Custom Page in Navigation
FilamentFFilament / ❓┊help
3y ago