Components
Media Library
Integrations
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:
Subheading
You can add a subheading to the page using the ->subheading() method:
Slug
You can modify the default page slug (media-library) using the ->slug() method:
Navigation label
You can override the default navigation label using the ->navigationLabel() method:
Navigation group
You can modify the navigation group using the ->navigationGroup() method:
Navigation sort
You can modify the navigation sort using the ->navigationSort() method:
Navigation parent item
You can modify the navigation parent item using the ->navigationParentItem() method:
Navigation icon
You can modify the default navigation icon (Heroicon::OutlinedPhotos) using the ->navigationIcon() method:
Active navigation icon
You can modify the navigation icon when it is active using the ->navigationIcon() method:
Navigation badge
You can add a badge to the navigation item using the ->navigationBadge() method:
Navigation badge color
You can modify the color of the navigation badge using the ->navigationBadgeColor() method:
Navigation badge tooltip
You can add a badge tooltip to the navigation item using the ->navigationBadgeTooltip() method:
Disable navigation registration
You can disable the navigation item using the ->shouldRegisterNavigation() method: