Skip to content

Conversation

@MohitMehtre
Copy link

@MohitMehtre MohitMehtre commented Oct 25, 2025

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

  • Added a collapsible button in Actions.tsx
  • Styled it in Actions.scss to blend with existing tool hover/click effects

Would love any feedback or suggestions — happy to iterate on this!

Thanks

@vercel
Copy link

vercel bot commented Oct 25, 2025

@MohitMehtre is attempting to deploy a commit to the Excalidraw Team on Vercel.

A member of the Team first needs to authorize it.

@MohitMehtre MohitMehtre marked this pull request as draft November 3, 2025 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add a Collapse Button for Sidebar Panel

1 participant