The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

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 (1)

 
Deleted comment

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
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.