I tried to create a collapsible side menu like this, based on this sample template from @Teodor .
I saw there is a variable ‘sidebartoggle’, that changes the icon button. However, still can’t get an idea of how the side menu hides/shows. I don’t see any dynamic attributes there.
Hi @mohif1995 in the tutorial they are using off-canvas, then apply CSS provided. But until the end of video, the side menu is no longer collapsible as per the sample template I mentioned above. Do you have any other references or video tutorials in regards to achieving this layout?
With Bootstrap 5 you have a built-in component called offcanvas. It is used exactly for such cases, so no need of the custom solution I posted some time ago.