FilamentPHP Glow Filament Glow
beta
  • All Tricks
  • About
login
logo dark logo light

Add new link to the panel topbar

Image Description
By: Lara Zeus
  • Published: 25 Mar 2024 Updated: 04 May 2024
Panels

add any link or actions to the topbar

Add new link to the panel topbar
  • create a new balde file with your link:

1‹a href="#">
2 title
3</a>
  • 1return $panel
    2 ->renderHook(
    3 'PanelsRenderHook::USER_MENU_BEFORE',
    4 fn () => view('filament.hook.topbar'),
    5 )
Back to Tricks
logo dark logo light

Related Tricks:

adding search bar for navigation groups and items

when you have a lot of resources, let your users search for what they looking for int he sidebar.

Demonstration of using a resource for multiple typical models

how to use a resource with multiple models

Add a locale as a url parameter on a panel

add locale parameter to all of your filament panel

Sticky Actions In Forms

Bring the sticky actions back form filament v2

Access the current component in a render hook

when you don't have access to the current resource or page, `current` for the help!

Tweet
X GitHub RSS Feed
built with ❤️ using
filamentPHP
© 2025 Lara Zeus. All rights reserved.
Terms and Conditions Contact Us

Syntax highlighting by Torchlight .

FilamentPHP Glow Filament Glow
beta
    • All Tricks
    • About

Media Picker

  • No Files in the library or nothing found for your search.

Add Files

File