© 2026 Hedgehog Software, LLC

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

Tabs with different content

Hello,

I'm new to Filament and I'm stuck with organizing resources. I hope someone can point me into right direction.

I have Company which has Users and Projects. I want to have one page that will have three tabs:
- 1st tab will display company details, address, etc.
- 2nd tab will display all users
- 3rd tab will display all projects

I created CompanyResource with following relations:

public static function getRelations(): array
 {
     return [
             ProjectsRelationManager::class,
             UsersRelationManager::class,
         ];
 }
public static function getRelations(): array
 {
     return [
             ProjectsRelationManager::class,
             UsersRelationManager::class,
         ];
 }


This works as expected - I get two tabs displaying tables. How can I add 1st tab which will display company details? Am I on the right path when doing it with relations? Can relation point to infolist instead of table? Or should I work with tab some other way?
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

Badge on content tabs
FilamentFFilament / ❓┊help
3y ago
Tabs Blade component content
FilamentFFilament / ❓┊help
3y ago
same fields, different content
FilamentFFilament / ❓┊help
3y ago
Why do my tabs look different?
FilamentFFilament / ❓┊help
3y ago