File icon

Localised file-type badge resolved from a MIME type or filename.

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

lr-file-icon

import '@aceshooting/lyra-ui/components/lr-file-icon.js';

Read guide (English)

Related components

  • 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
  • Lightbox item — A slide inside a lightbox: an image or video with its own thumbnail, caption and optional customised content.