© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
6 replies
Jerome V

How to display the widgets instead of normal table in relation manager?

<?php

namespace App\Filament\Admin\Resources\MerchantResource\RelationManagers;

use App\Filament\Admin\Widgets\MerchantStats;
use App\Filament\Admin\Widgets\ProductsAvailed;
use App\Filament\Admin\Widgets\SalesChart;
use Filament\Resources\RelationManagers\RelationManager;

class StorePerformanceRelationManager extends RelationManager
{
    protected static string $relationship = 'transactions';

    protected static ?string $title = 'Store Performance';

    protected static ?string $label = 'Store Performance';

    protected static ?string $pluralLabel = 'Store Performance';

    protected function getFooterWidgets(): array
    {
        return [
            MerchantStats::class,
            ProductsAvailed::class,
            SalesChart::class,
        ];
    }


}
<?php

namespace App\Filament\Admin\Resources\MerchantResource\RelationManagers;

use App\Filament\Admin\Widgets\MerchantStats;
use App\Filament\Admin\Widgets\ProductsAvailed;
use App\Filament\Admin\Widgets\SalesChart;
use Filament\Resources\RelationManagers\RelationManager;

class StorePerformanceRelationManager extends RelationManager
{
    protected static string $relationship = 'transactions';

    protected static ?string $title = 'Store Performance';

    protected static ?string $label = 'Store Performance';

    protected static ?string $pluralLabel = 'Store Performance';

    protected function getFooterWidgets(): array
    {
        return [
            MerchantStats::class,
            ProductsAvailed::class,
            SalesChart::class,
        ];
    }


}
image.png
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

Use infolist instead of table in a relation manager.
FilamentFFilament / ❓┊help
2y ago
Is it possible to add widgets in the relation manager table?
FilamentFFilament / ❓┊help
7mo ago
Relation manager display
FilamentFFilament / ❓┊help
3y ago
Table in Relation Manager
FilamentFFilament / ❓┊help
2y ago