Include

E fetch HTML fragment and place safe content inside page light DOM.

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

lr-include

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

Read di guide (for English)

Components wey relate

  • 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.
  • SVG viewer — E fetch SVG from URL and render safe inline document.