Render Hook for navigation items
I want a render hook that allows me add livewire components for each navigation item (such as an action as the photo show). is it possible now? or need some changes in the view files?

12 Replies
I can't see any render hook for it for now. is it possible to make a PR to allow it?
@Dan Harrin ?
how would you target just one nav item and not all of them with a render hook?
it just feels very niche
to be honest I don't know. I want just an ability to add a component that sit in a navigation item. it is usefull for like providing information or some actions for each item. I would suggest to add another method in the NavigationItem class that render a livewire component. it will solve your point. what do you think?



i feel like just allowing the user to render a component seems random, then people will want to change the position it is rendered in for example
i just dont really understand the idea behind it and i havent had requests from others, so i dont feel like it will be used much
In one of my production project a client ask us to put a tutorial action button near each badge of navigation item. When user click on it it will display a model with a video or redirect him to youtube video. At that time we said to him "its not possibile for now". So from this client request I was saying "why not add some feature to handle this request".
That the story.
Is it vaild point from the client? I don't know. But saying "I can't" to smething that any other developer can do with another techs made me feel bad. 🥲
Seems like something like https://filamentphp.com/plugins/ralphjsmit-onboarding-manager-pro would be more relevant.
Filament
Onboarding Manager Pro by Ralph J. Smit - Filament
Beautiful onboarding experiences for Filament Admin.
yeah thats sound good. I also came across this package https://filamentphp.com/plugins/jibay-mcs-tour
which are also great for explaining how the system works.
Filament
Tour by Jibay Mcs - Filament
Bring the power of DriverJs to your Filament panels and start a tour to let your users discover your dashboard !
Yea, I knew there was more than one just couldn’t remember the names of them all.
So much great plugins are there. nice to have this community. and nice plugins you have also. maybe I will try to contribute on some of them ':)' if I can
Sure, I welcome PRs and contributions.
Any idea what theme is this panel using?