HTML viewer

E fetch URL and show HTML safely after sanitizing am.

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

lr-html-viewer

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

Optional dependency: dompurify

Read di guide (for English)

Components wey relate

  • Include — E fetch HTML fragment and place safe content inside page light DOM.
  • Notebook viewer — Read-only Jupyter notebook with Markdown, code and rich cell outputs.
  • Page rail — Virtual vertical row of thumbnails to move through document pages.
  • PDF viewer — E fetch and show PDF pages with zoom, page controls and selectable text.
  • PPTX viewer — Browser-side best-effort view for PowerPoint PPTX slides.
  • Spreadsheet viewer — E fetch .xlsx or old .xls workbook with sheet tabs and virtual rows.