Detailed description
Choose two images from the media library and provide alternative descriptions. The reveal clips the before image without resizing it during interaction.
Configure horizontal or vertical reveal, initial percentage, aspect ratio, crop mode, labels and handle color. Gutenberg controls cover container colors, typography, spacing, borders and shadows.
Useful for renovation, photo editing and design comparisons. Choose images with similar framing. Without JavaScript the initial comparison remains visible; interactive adjustments require the block script.
Customization
Hide the range below the image while retaining keyboard access: it becomes visible on focus. Set the block width and image height using CSS units (px, %, rem, vh…). Leave height empty to use the selected aspect ratio.
Performance
Zero useless scripts, Vanilla JS only.
Native Gutenberg
WCAG compliance for all users.
Image Comparison
JS Weight
< 2kb
Version
1.1.1
WCAG
WCAG 2.1 AA
0
Likes
1
Downloads
Vanilla JS Architecture
Guaranteed zero technical debt, optimized for Core Web Vitals.
You might also like
Discover more blocks in the category freemium