react-draggable icon indicating copy to clipboard operation
react-draggable copied to clipboard

How to add alignment guides in react-draggable?

Open qingfengmy opened this issue 11 months ago • 0 comments

Hello,

I’m using react-draggable for a project and would like to add alignment guides (similar to the snapping or ruler guides in design tools like Figma or Photoshop) to help users align draggable elements.

Could you please guide me on how to implement this feature? Specifically:

Does the library provide built-in support for alignment guides? If not, is there a recommended approach to achieve this (e.g., custom event listeners or integration with external libraries)? Are there any examples or related resources you can share? Thank you for your time and for maintaining this great library!

Best regards,

qingfengmy avatar Jan 23 '25 02:01 qingfengmy