© 2026 Hedgehog Software, LLC

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

How can add tabs in custom page?

can we use getTabs function in custom pages in Filament V3 so we can show the on top of the Table? Like this?
public function getTabs(): array
{
return [
null => ListRecords\Tab::make('All'),
'new' => ListRecords\Tab::make()->query(fn ($query) => $query->where('status', 'new')),
'processing' => ListRecords\Tab::make()->query(fn ($query) => $query->where('status', 'processing')),
'shipped' => ListRecords\Tab::make()->query(fn ($query) => $query->where('status', 'shipped')),
'delivered' => ListRecords\Tab::make()->query(fn ($query) => $query->where('status', 'delivered')),
'cancelled' => ListRecords\Tab::make()->query(fn ($query) => $query->where('status', 'cancelled')),
];
}
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

Custom page in resource tabs
FilamentFFilament / ❓┊help
3y ago
Custom page adding to tabs
FilamentFFilament / ❓┊help
2y ago
Problem in table tabs in a custom page
FilamentFFilament / ❓┊help
5mo ago
Problem in table tabs at the custom page
FilamentFFilament / ❓┊help
17mo ago