How to make navigation in cluster to topNavigation?

I have cluster for advertisement and they want to make the cluster navigation top instead of the usuall left menu..


<?php

namespace App\Filament\Clusters;

use Filament\Clusters\Cluster;

class Advertisement extends Cluster
{
protected static ?string $navigationIcon = 'heroicon-o-squares-2x2';

}
Solution
💡Filament Tip: If you’re utilizing Clusters, you can configure SubNavigationPosition::Top. This configuration will display your resource in a tab 🙃

Twitter

4/13/24, 11:31 AM

Was this page helpful?