@mastershot/vue-editor

Mastershot's photo and video editor as a Vue component.
500
Install
npm install @mastershot/vue-editor
Latest Version:1.7.0
Vue:3
License:Custom
Last Updated:Oct 25, 2026
Links: npm
Maintainer: jacob_mastershot

Mastershot Editor for Vue

Mastershot's photo and video editor as a Vue 3 component, for Vue and Nuxt. Your visitors crop, turn, trim, pixelate and resize their files on your page, and your code gets the edited file.

npm install @mastershot/editor @mastershot/vue-editor
<script setup>
import { MastershotEditor } from "@mastershot/vue-editor"

defineProps({ file: File })
const emit = defineEmits(["save"])
</script>

<template>
  <MastershotEditor
    :src="file"
    :utils="['crop', 'resize']"
    :image-crop-aspect-ratio="1"
    @process="({ dest }) => emit('save', dest)"
    style="height: 600px"
  />
</template>

Every option of @mastershot/editor is an attribute, in kebab-case or camelCase, and every event is a listener: @process, @load. A template ref's editor is the editor itself. In Nuxt, wrap the component in <ClientOnly>.

License

Free on localhost, private network addresses and .test names, so you can build and try it without an account. A live site needs a license key, and the key works only on the domains you add to it. Without one the editor still works, with a thin "Unlicensed" line above it.

Docs · Try it and set it up

Related Packages

vue-crop-simple

a simple vue component of croper, Decoupling with Images, The maximum minimum as...

2,234 12
@klesh/vue-crop

Light-weight Vue.js component for photo cropping with zooming/dragging support

472 0
v-input-trim

由于element-ui的el-input使用v-model.trim去空格会导致输入时无法在内容前后输入空格...

9,280 3
vue-pic-tech-editor

基于 Vue 3.5 和 Fabric.js 的图片翻译与在线编辑组件

1,361 1
vue-img-cutter

A image crop plug-in for Vue,you can use it to rotate、zoom images and cut any s...

120,307 562

Version History

Version Released Vue License
1.7.0 >=3.3 Custom
1.6.0 >=3.3 Custom
1.5.0 >=3.3 Custom
1.4.0 >=3.3 Custom
1.3.1 >=3.3 Custom
Pre-releases (1)
Version Released License
0.0.0-stage