Vanilla Breeze

image-editor

A zero-dependency image editor web component for cropping, rotating, filtering, resizing, and exporting images. Drag-and-drop, undo/redo, 35+ CSS custom properties, and full VB token compatibility.

Where to find it

Install

Or via CDN:

Demo

Drop an image onto the editor or use the built-in tools to crop, rotate, filter, and export. The toolbar and panels adopt the active VB theme.

Quick reference

FeatureNotes
CropDraggable handles with rule-of-thirds grid and aspect ratio presets.
Rotate / Flip90° rotation; horizontal and vertical flip.
FiltersBrightness, contrast, saturation, blur, grayscale, sepia.
ResizeAspect-ratio lock with common size presets.
ExportPNG, JPEG, or WebP with quality control.
Undo/RedoConfigurable history depth.
Drag-and-dropDrop images directly onto the editor.
ThemesLight/dark mode with auto-detection; reads VB --color-*, --size-*, --font-*, --shadow-* tokens.

See the README for the full attribute, method, event, and keyboard shortcut reference.

Usage examples

Per-instance overrides via --image-editor-* custom properties always win over inherited VB tokens.