HTML viewer
Fetches a URL and safely renders its HTML after sanitising it.
PDF, spreadsheet, document, and archive viewers with compare and highlight support.
lr-html-viewer
import '@aceshooting/lyra-ui/components/lr-html-viewer.js';Optional dependency: dompurify
Related components
- Include — Fetches an HTML fragment and transcludes it as sanitised light-DOM page content.
- Notebook viewer — Read-only Jupyter notebook renderer composing markdown, code, and rich cell outputs.
- Page rail — Virtualised vertical thumbnail rail for paging through a page-addressed document.
- PDF viewer — Fetches and renders PDF pages with zoom, pagination, and a selectable text layer
- PPTX viewer — Best-effort client-side viewer for PowerPoint PPTX presentations.
- Spreadsheet viewer — Fetches and renders .xlsx and legacy .xls workbooks with sheet tabs and virtualised rows.