Skip to content

How to add alignment guides in react-draggable? #775

Open
@qingfengmy

Description

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,

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions