Drop zone

Drag-and-drop wrapper that turns any region into a file-drop target without a file picker of its own.

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

lr-drop-zone

import '@aceshooting/lyra-ui/components/lr-drop-zone.js';

Read guide (English)

Related components

  • File icon — Localised file-type badge resolved from a MIME type or filename.
  • File input — Drag-and-drop and click-to-browse dropzone that emits the selected files.
  • Flag — Country or language flag rendered in a themeable, optionally circular frame.
  • Image Comparer — Slides a keyboard-accessible divider to compare before and after surfaces side by side.
  • 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