xyxiao001/vue-cropper

A simple picture clipping plugin for vue

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 13 minutes ago
Added to GitGenius on September 15th, 2026
Created on May 22nd, 2017
Open Issues & Pull Requests: 189 (+0)
GitHub issues: Enabled
Number of forks: 706
Total Stargazers: 4,556 (+0)
Total Subscribers: 36 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.8 hours
Mean response time: 14.6 days
90th percentile: 31.4 days
Tracked items: 54

Most active contributors

Sign in to see contributor activity.

How this project is maintained

100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 69% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 35
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 616 days
Stale 30+ days: 34
Stale 90+ days: 33

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

vue-cropper is a Vue component for image cropping that supports both Vue 2 and Vue 3.

The tool solves the problem of integrating image cropping functionality into Vue applications. It provides an interactive interface where users can select a crop region within an image, adjust its position and size, and export the cropped result. The component handles image scaling via mouse wheel, allows dragging of both the image and the crop box, and supports multiple output formats and quality settings. It can work with image URLs, base64 data, or blob objects.

Developers building Vue applications that need image cropping should consider this tool. It suits projects requiring straightforward image editing without heavy dependencies. The README notes that Vue 3 users are recommended to use a separate repository, cropper-next-vue, which is independently maintained and offers additional features including boundary detection after rotation, constraints to keep images within the crop frame or container, high-DPI export, and real-time preview. The original vue-cropper remains available for Vue 2 projects and Vue 3 projects that prefer this implementation. The tool provides extensive configuration through props including output quality and format, fixed aspect ratios, automatic crop box generation, and device pixel ratio handling. Callbacks are available for real-time preview updates, image movement, crop box movement, and image load status.

The project maintains active development with updates documented in a changelog. The repository includes online demonstrations and comprehensive documentation covering installation methods for different Vue versions, including CDN usage and Nuxt integration. The maintainers have identified a known issue where mock services can interfere with image conversion and recommend disabling them during use.