Skip to content

niklasramo/dragdoll

Repository files navigation

DragDoll

DragDoll is a modular and highly extensible drag system written in TypeScript. It's originally based on Muuri's internal drag system, but fully redesigned to be used as a general purpose drag system.

📡   Sweet Sensors

A well documented and extendable Sensor system that normalizes any inputs into unified drag events.

🤏   Dynamic Draggables

A highly customizable and pluggable Draggable system with autoscrolling superpowers.

🪄   Magical Transforms

Transformed (2D) elements can be dragged normally, finally. Rotate, scale, skew and translate to your heart's content.

🧘   Blissful DX

Comes with strong types, smart defaults and prebaked solutions for common use cases.

🍦   Vanilla Flavour

No frameworks were abused while writing this library. It's all vanilla framework-free TS down to the core.

💝   Free & Open Source

100% MIT licensed, spread the love.

Docs

https://niklasramo.github.io/dragdoll/docs/getting-started.html

Copyright

Copyright © 2022-2024, Niklas Rämö (inramo@gmail.com). Licensed under the MIT license.