Add Elements to the TopMenu
I would love to add elements in the top menu.
Did anyone find a way to edit that? (not talking about the user/setting neither the search function).
![No description](https://cdn.answeroverflow.com/1329036532446924891/CleanShot_2025-01-15_at_11.35.10.png)
Solution:Jump to solution
Hi,
You can use render hook TOPBAR_START
Example here with AUTH_REGISTER_FORM_BEFORE : https://filamentmastery.com/articles/filament-render-hooks-example-with-authentication-pages...
Filament Mastery
Filament Render Hooks: example with authentication pages - Filament...
Learn how to customize Filament panels using Render Hooks. Discover the power of clean and maintainable customizations in Filament!
6 Replies
Solution
Hi,
You can use render hook TOPBAR_START
Example here with AUTH_REGISTER_FORM_BEFORE : https://filamentmastery.com/articles/filament-render-hooks-example-with-authentication-pages
Filament Mastery
Filament Render Hooks: example with authentication pages - Filament...
Learn how to customize Filament panels using Render Hooks. Discover the power of clean and maintainable customizations in Filament!
Example :
Oh nice. That seems like to be it. Looked for 45 min. Let me check if that works
you can register it directly on you panel provider too
That would organize it a bit better that in the AppServiceProvider. Thnaks