Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

moveable

> 编程语言
Open source

Moveable! Draggable! Resizable! Scalable! Rotatable! Warpable! Pinchable! Groupable! Snappable!

10.7K stars0 likes3 views
WebsiteGitHub

About

Moveable! Draggable! Resizable! Scalable! Rotatable! Warpable! Pinchable! Groupable! Snappable!

Moveable

Moveable is Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable, Snappable

Github / Demo / Storybook / API / Main Project

Moveable
Draggable Resizable Scalable Rotatable
Warpable Pinchable Groupable Snappable
Clippable Roundable OriginDraggable Selecto

Features

  • Draggable refers to the ability to drag and move targets.
  • Resizable indicates whether the target's width and height can be increased or decreased.
  • Scalable indicates whether the target's x and y can be scale of transform.
  • Rotatable indicates whether the target can be rotated.
  • Warpable indicates whether the target can be warped (distorted, bented).
  • Pinchable indicates whether the target can be pinched with draggable, resizable, scalable, rotatable.
  • Groupable indicates Whether the targets can be moved in group with draggable, resizable, scalable, rotatable.
  • Snappable indicates whether to snap to the guideline.
  • OriginDraggable* indicates Whether to drag origin.
  • Clippable indicates Whether to clip the target.
  • Roundable indicates Whether to show and drag or double click border-radius.
  • Support SVG Elements (svg, path, line, ellipse, g, rect, ...etc)
  • Support Major Browsers
  • Support 3d Transform

⚙️ Installation

npm

bash
$ npm i moveable

scripts

xml
<script src="//daybrush.com/moveable/release/latest/dist/moveable.min.js"></script>

Documents

  • Moveable Handbook
  • How to use Group
  • How to use custom CSS
  • How to make custom able
  • API Documentation

How to use

  • All classes of moveable control box and able elements have a moveable- prefix. So please don't put moveable- class name in target.
…

Packages

  • moveable: A Vanilla Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.
  • react-moveable: A React Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.
  • preact-moveable: A Preact Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.
  • ngx-moveable: An Angular Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.
  • svelte-moveable: A Svelte Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.
  • lit-moveable: A Lit Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.
  • vue-moveable: A Vue Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.
  • vue3-moveable: A Vue 3 Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.

⚙️ Developments

The moveable repo is managed as a monorepo with yarn.

bash
yarn config set registry https://registry.npmjs.org/

The main project was made with react and I used croact to make it lighter with umd.

For development and testing, check in packages/react-moveable.

npm run storybook

$ yarn
$ npm run packages:build
$ npm run storybook

Runs the app in the development mode.
Open http://localhost:6006 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

⭐️ Show Your Support

Please give a ⭐️ if this project helped you!

Contributing

If you have any questions or requests or want to contribute to moveable or other packages, please write the issue or give me a Pull Request freely.

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Bug Report

If you find a bug, please report to us opening a new Issue on GitHub.

Sponsors

</a>

Open Collective Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

License

This project is MIT licensed.

…

Issues· 454 open

View all issuesOpen on GitHub
  • #1137

    Is this project still active?

    Updated Sep 21, 2026
  • #1128

    Is this library even being managed any more?

    Updated Sep 16, 2026
  • #1156

    Maintainership: offering to help, and a question about the project's future

    Updated Sep 16, 2026
  • #1155

    Unactivated rotated boxes cannot be selected and dragged in one go

    Updated May 25, 2026
  • #1152

    select a group when dragging over part of the group

    Updated Mar 12, 2026
  • #1151

    How to get mm-precise printing from react-moveable ?

    Updated Feb 20, 2026
  • #1116

    Element guidelines doesn't use querySelectorAll

    Updated Jan 22, 2026
  • #851

    how to add e.stopPropagation in on onDrag event`(React)

    bugcheckingUpdated Dec 23, 2025
  • #882

    Vanilla Demo

    demoUpdated Oct 11, 2025
  • #1150

    Open Source Collective would like to get in touch

    Updated Oct 2, 2025

> Tags

TypeScriptdraggablegroupablemovablemoveable

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言