
Add new link to the panel topbar
By: Lara Zeus
- Published: 25 Mar 2024 Updated: 04 May 2024
add any link or actions to the topbar

create a new balde file with your link:
1‹a href="#">
2 title
3</a>
- 1return $panel2 ->renderHook(3 'PanelsRenderHook::USER_MENU_BEFORE',4 fn () => view('filament.hook.topbar'),5 )

Related Tricks:
Demonstration of using a resource for multiple typical models
how to use a resource with multiple models
Sticky Table Row Actions
how to make actions sticky in tables when you have a lot of columns
Collapse Sidebar by Default in Mobile
Add new link to the panel topbar
add any link or actions to the topbar
Access the current component in a render hook
when you don't have access to the current resource or page, `current` for the help!