Introducing ReUI:Open-source UI components and apps built with React, Next.js and Tailwind CSS
Browse ReUI

Recommended method to change <Toolbar> on a per page basis


Hello all,

While working and exploring the Theme demo files I noticed there were multiple <ToolBar> elements "ToolBar1" "ToolBar2" etc. My question is what would be the suggested method to actually switch between these different toolbars as it's not highlighted in the docs or within the codebase.

My Goal:

I would like to use a default toolbar (say <ToolBar1 />), but on special pages I would like to switch to <ToolBar2 />, but only for that page.

Does anybody have any suggestions?


Text formatting options
Submit

Replies (2)


With expertise in online publishing, California Business Journal ensures businesses reach their audience effectively through engaging content.



Hi Joah,

Try to check in the code how the title/breadcrumbs are changing. You can use the same solution for a page-based toolbar.

Regards,
Keenthemes support


Text formatting options
Submit
Text formatting options
Submit