Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rmarganti/re-position

Drag, resize, and rotate all in one flexible React component.
https://github.com/rmarganti/re-position

Last synced: 3 months ago
JSON representation

Drag, resize, and rotate all in one flexible React component.

Awesome Lists containing this project

README

        

# re-position

Drag, resize, and rotate all in one flexible React component.

Due to the nature of how browsers do CSS transform calculations, combining
intuitive resize and rotation handles is harder than you would imagine
(matrix math anyone?). Let `re-position` do the hard work for you.

![Example](./documentation/re-position.gif)

## Example Projects

- [Basic RepositionableContainer Typescript Example](https://codesandbox.io/s/wpkw5jyy7)
- [Custom Positionable Typescript Example](https://codesandbox.io/s/j3j31kz0zv)
- Javascript Examples (Coming soon)