vue-resizer
A series of the resizer components for Vue.js
92,021
49
| Install | |
|---|---|
npm install vue-resizer |
|
| Latest Version: | 1.2.0 |
| License: | MIT |
| Last Updated: | Jun 28, 2025 |
| Links: | GitHub · npm |
Maintainer: caliturner
vue-resizer
A series of the resizer components for Vue.js
For all the usages please check the website
Install with NPM
npm install vue-resizer
Import
import {
DragCol,
DragRow,
ResizeCol,
ResizeRow,
Resize,
} from "vue-resizer"
Usage
<DragCol>
<template #left>
<!-- your content -->
</template>
<template #right>
<!-- your content -->
</template>
</DragCol>
Props
props: {
// width percentage of the left part
// units: %
leftPercent: {
type: Number,
default: 50,
},
// width of the slider
// units: px
sliderWidth: {
type: Number,
default: 20,
},
// width of the container
// units: any
width: {
type: String,
default: "400px",
},
// height of the container
// units: any
height: {
type: String,
default: "400px",
},
// color of the slider
sliderColor: {
type: String,
default: "#6f808d",
},
// bg color of the slider
sliderBgColor: {
type: String,
default: "#1f2e3a",
},
// color of the slider on hover
sliderHoverColor: {
type: String,
default: "#6f808d",
},
// bg color of the slider on hover
sliderBgHoverColor: {
type: String,
default: "#16222a",
}
}
Go to the document
Related Packages
vue-draggable-resizable-gorkys
Vue 3 draggable and resizable component with snapping, guide lines, and conflict...
29,641
1,271
vue-directive-window
Vue.js directive that enhance your Modal Window, support drag, resize and maximi...
1,359
31
Version History
| Version | Released | License |
|---|---|---|
| 1.2.0 | MIT | |
| 1.1.9 | MIT | |
| 1.1.8 | MIT | |
| 1.1.7 | MIT | |
| 1.1.6 | MIT |