feat: add collapsible button for left sidebar in Actions panel #10248
+202
−112
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a Collapse Button for Sidebar Panel
Related issue: Closes #10232
This PR adds a simple collapse button for the left sidebar (properties panel) in Excalidraw.
The goal is to make the workspace feel a bit cleaner and give users more room on the canvas — especially on smaller screens. It lets you toggle the sidebar open or closed with a smooth little arrow button, matching the style of other tools in the app.
I know this might not be a perfect implementation yet, and I’d really love to collaborate with maintainers or anyone interested in refining it further. The idea was mainly to get the ball rolling on this small quality-of-life improvement that I think a lot of users would appreciate.
Demo
Screen.Recording.2025-10-25.174956.mp4
Changes made
Actions.tsxActions.scssto blend with existing tool hover/click effectsWould love any feedback or suggestions — happy to iterate on this!
Thanks