last-word-ui
@particle-academy/last-word-ui
A read-only, paged React viewer for a last-word Doc that draws it as the pages it prints on: paper size and orientation, automatic breaks by content height, header and footer bands at Word's distances with live {page}/{pages}, footnotes at the foot of their page, and tables split by row with the header repeated. It scales to fit a narrow panel and never reflows. Pairs with particle-academy/last-word (PHP) or @particle-academy/last-word (Node).
UI surface
1 components, each with a live demo, props table, and source.
ButtonlivebetaCardRK
$
npm install @particle-academy/last-word-uiPairs with
Components
1 component · click any tile for a full demo, source, and install snippet.
DocViewerOpen →
Statement of account, page 1 of 1
Paged, read-only preview of a last-word Doc. Takes the JSON a last-word reader returns, paginates by measured height, and scales whole pages to fit. Stable data-page / data-block / data-footnote handles; links, images and colours from the document are sanitised.
