Docs / Viewers / PPTX Viewer
PPTX Viewer
Svelte 5 port of the Extend UI pptx-viewer. Slides render on the client through the pptx-browser engine wrapper, virtualized with the shared virtual list.
Loading presentation…
Differences from upstream
- Upstream exports
PptxViewerPreviewandPptxViewerPreviewProps; both are available here, plusPptxViewerandPptxViewerProps. - Exported as both
PptxViewerand the upstream namePptxViewerPreview;classNameandclassare both accepted. - Slides render with the pptx-browser engine instead of
@extend-ai/react-pptx(React-only), as one virtualized list. - Not ported:
defaultZoomand the zoom controls, the thumbnail sidebar (defaultThumbnailSidebarOpen), and slide navigation (initialSlide, jump to slide, keyboard navigation). - Upload accepts
.pptxonly; legacy.pptfiles cannot be read by the engine. toolbarActionsis a Svelte snippet instead of a React node.- Dark mode is set by the parent through
isDark(upstream follows the app theme). The viewer has no theme switch of its own, soonIsDarkChangeis never called. - Port additions:
height,slideHeight,slideWidth, andoverscansize the fixed-row virtual list.