#How to modify our admin nav bar?

1 messages · Page 1 of 1 (latest)

halcyon moat
#

Hi everyone,

I recently watched this tutorial on customizing the admin navbar in Payload CMS (https://www.youtube.com/watch?v=F1ejRLr2Uzo&ab_channel=AllAboutPayload), but it seems that the method shown is now outdated as the file path no longer exists in PayloadCMS 3.

Could someone please share the current, recommended way to legitimately modify the admin navbar in PayloadCMS 3? Any guidance or updated documentation references would be greatly appreciated.

Thanks in advance!

Hey everyone! 🌍🎉 Welcome to our Custom Navbar Guide! 📺👨‍💻

In this special episode, we're diving into the exciting process of creating a custom navbar using Payload CMS and Tailwind CSS. 🌐💻 Building on our previous tutorials, I'll show you how to enhance your navbar with custom styling, icons, and dynamic links, offering a tailored experience fo...

▶ Play video
rapid sphinxBOT
vestal ferry
#

Hey @halcyon moat,

You can use custom components for this. If you simply want to add some links, you can use the beforeNavLinks or afterNavLinks custom components. If you want to take it to the next level, you can also use your own nav entirely by making a custom component for the Nav component.

See the docs on this here: https://payloadcms.com/docs/admin/components#root-components

halcyon moat
halcyon moat
vestal ferry
#

Ah thank you for the star!

#

Yeah, you can do that

#

You want it to be collapsible like the default ones right? IF so, you're looking for the NavGroup component