Email viewer

Parses and renders an .eml message with headers, sanitized body, and attachments.

PDF, spreadsheet, document, and archive viewers with compare and highlight support.

lr-email-viewer

import '@aceshooting/lyra-ui/components/lr-email-viewer.js';

Optional dependency: postal-mime, dompurify

Read guide (English)

Related components

  • GeoJSON viewer — Fetches, validates, and renders a GeoJSON file's features on a map.
  • Highlight layer — Overlay that paints activatable highlight rectangles over positioned document content.
  • HTML viewer — Fetches a URL and safely renders its HTML after sanitizing it.
  • Include — Fetches an HTML fragment and transcludes it as sanitized light-DOM page content.
  • Notebook viewer — Read-only Jupyter notebook renderer composing markdown, code, and rich cell outputs.
  • Page rail — Virtualized vertical thumbnail rail for paging through a page-addressed document.