# Snap To Handle

In this example we will create a custom connection line
that snaps to the nearest handle when the connection is dropped within distance of a handle.

<div class="mt-6">
  <Repl example="snappable"></Repl>
</div>
