DOCX viewer

E convert DOCX to safe semantic HTML through mammoth converter.

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

lr-docx-viewer

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

Optional dependency: mammoth, dompurify

Read di guide (for English)

Components wey relate

  • E-book viewer — E show EPUB with chapter navigation through optional epub.js peer.
  • Email viewer — E read .eml and show headers, safe message body and attachments.
  • GeoJSON viewer — E fetch and check GeoJSON, then draw im features on map.
  • Highlight layer — Overlay wey draw clickable highlight rectangles on positioned document content.
  • HTML viewer — E fetch URL and show HTML safely after sanitizing am.
  • Include — E fetch HTML fragment and place safe content inside page light DOM.