Image Comparer

Slides a keyboard-accessible divider to compare before and after surfaces side by side.

Images, avatars, file inputs, maps, and QR codes.

lr-image-comparer

import '@aceshooting/lyra-ui/components/lr-image-comparer.js';

Read guide (English)

Related components

  • Image viewer — Full pan/zoom raster-image viewer with labelled region highlights and optional annotation.
  • Lightbox — Full-screen modal image viewer with prev/next navigation and zoom
  • Lightbox item — A slide inside a lightbox: an image or video with its own thumbnail, caption and optional customised content.
  • Map — MapLibre GL map wrapper with a declarative legend, choropleth, and markers
  • Map anchor — Experimental panel anchored to a point on a map.
  • Media card — Inline preview for an image, video, or file attachment inside a chat message.