# re-position

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

Latest version **0.7.0** (published 2020-02-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install re-position
pnpm add re-position
yarn add re-position
bun add re-position
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.0 |
| Published | 2020-02-03 |
| First published | 2018-11-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 145.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 61 |
| Author | Ryan Marganti |
| Maintainers | rmarganti |

## Links

- npm: https://www.npmjs.com/package/re-position
- Repository: https://github.com/rmarganti/re-position
- Homepage: https://github.com/rmarganti/re-position#readme
- Issues: https://github.com/rmarganti/re-position/issues
- npm.io page: https://npm.io/package/re-position

## Dependencies (3)

- [rxjs](https://npm.io/package/rxjs.md) ^6.0.0
- [styled-components](https://npm.io/package/styled-components.md) ^5.0.0
- [transformation-matrix](https://npm.io/package/transformation-matrix.md) ^1.0.0

## Recent versions

- 0.7.0 (latest) — 2020-02-03
- 0.0.1-alpha (next) — 2018-11-25
- 0.6.0 — 2019-03-15
- 0.6.0-beta — 2019-03-12
- 0.5.0 — 2019-02-20
- 0.4.1 — 2019-02-11
- 0.4.0 — 2019-02-08
- 0.3.3 — 2019-02-04
- 0.3.2 — 2019-02-04
- 0.3.1 — 2019-02-01
- 0.3.0 — 2019-01-31
- 0.2.1 — 2018-12-27
- 0.1.0 — 2018-12-02
- 0.0.1-alpha.3 — 2018-11-30
- 0.0.1-alpha.1 — 2018-11-25
- … 1 more at https://npm.io/package/re-position/versions

## 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)

---
_Source: https://npm.io/package/re-position · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
