"><img> to paste in an image
Hi, unfortunately, persistent collapsed sidebars are not typically controlled in the same way as themeMode out of the box. However, you can achieve this functionality by saving the sidebar's state (collapsed or expanded) to localStorage or another persistent storage method. Then, on page load, you can check the saved state and adjust the sidebar accordingly. If you're using a framework like React, you could set up a context or useState to manage this state across components.