
Description
VueDraggableResizable is a Vue 3 component that makes an element draggable, resizable or both. It has no dependencies and ships without CSS, so you bring your own stylesheet and set the class names for its states, such as draggable, resizing, dragging and active, through props. Resize handles can be defined, and you can provide your own markup for them. Size and movement can be restricted to the parent element, the element can snap to a custom grid, drag can be limited to a vertical or horizontal axis, and an aspect ratio can be kept. Touch input is supported. A scale prop handles CSS scale transforms, so the component still works inside a scaled container. The repository has a live playground with examples, and it can be run locally with npm. Version 1 of the component is kept on a separate branch, while this repository is for version 3. The README covers installation, props, events and styling, and the project is open for contributions on GitHub.…
Highlights
- Drag, resize or both, with no dependencies
- Grid snapping, aspect ratio and parent limits
- Touch input with custom handles and class names
- Vue 3 component with a live playground
Ratings & Reviews
No ratings yet
Be the first to rate vue-draggable-resizable.
People also visit

vuedraggable-plus
Vue component allowing drag-and-drop sorting module, support Vue>=v3 or Vue>=2.7
vue-draggable-resizable FAQ
What is VueDraggableResizable?
A Vue component for elements that can be dragged, resized or both, used in templates like any other component.
Which Vue version is it for?
The repository page is for version 3 of the component, built for Vue 3. Version 1 is kept on the v1 branch.
Does it include styling?
No. The component has no CSS, so you include your own stylesheet in your app and can set its class names through props.
Does it work on touch screens?
Yes. The README lists touch support among its features.
Can I see examples?
Yes. There is a live playground, and you can run it on your own computer by cloning the repository and starting the story server.
Is it free?
Yes. The source is public on GitHub, so it is open source.
What are the best vue-draggable-resizable alternatives?
Popular alternatives to vue-draggable-resizable include vuedraggable-plus, vue-grid-layout and vue-fluid-dnd. See all vue-draggable-resizable alternatives



















