Instructions
An elegant and flexible document viewer for Bubble with three self-contained elements: 'Pdf View' (PDF, via PDF.js/pdf-lib), 'Doc View' (Word .doc/.docx, via docx-preview) and 'Excel View' (spreadsheets .xlsx/.xls/.csv, via SheetJS). Every element shares the same set of properties — content & behavior, appearance (theme/colors/watermark), and UI protection/visibility toggles — so you can drop in whichever viewer matches your file type and configure it the same way: zoom presets, reactive search with highlighting, dark/light theme with custom colors, a dynamic watermark overlay, protected mode (hides download/print and blocks copy shortcuts), and toggles to hide individual toolbar pieces.