Skip to content

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

Description

@qingfengmy

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,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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