Filament Plugins

Purchase

Navigation

By default, the Media Library adds a page called Media Library to your panel. This section describes how to modify the navigation & appearance of the library.

Title

You can change the default page title using the ->title() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->title('Library')

Subheading

You can add a subheading to the page using the ->subheading() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->subheading('Below, the interface allows you to manage the items in the media library.')

Slug

You can modify the default page slug (media-library) using the ->slug() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->slug('library')

You can override the default navigation label using the ->navigationLabel() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->navigationLabel('Library')

You can modify the navigation group using the ->navigationGroup() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->navigationGroup('Blog')

You can modify the navigation sort using the ->navigationSort() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->navigationSort(1)

You can modify the navigation parent item using the ->navigationParentItem() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->navigationParentItem('Blog')

You can modify the default navigation icon (Heroicon::OutlinedPhotos) using the ->navigationIcon() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->navigationIcon('heroicon-m-photos')

Active navigation icon

You can modify the navigation icon when it is active using the ->navigationIcon() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->activeNavigationIcon('heroicon-m-photos')

You can add a badge to the navigation item using the ->navigationBadge() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->navigationBadge('New')

You can modify the color of the navigation badge using the ->navigationBadgeColor() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->navigationBadgeColor('gray')

use Filament\Support\Colors\Color;

$plugin->navigationBadgeColor(Color::Cyan)

You can add a badge tooltip to the navigation item using the ->navigationBadgeTooltip() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->navigationBadgeTooltip('Pro-customers only')

Disable navigation registration

You can disable the navigation item using the ->shouldRegisterNavigation() method:

app/Providers/Filament/YourPanelProvider.php

$plugin->shouldRegisterNavigation(false)
© FilamentPlugins.com ✦ 2022 – 2025 ✦ All rights reserved.