Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Forme PDF PreviewNew to Visual Studio Code? Get it now.
Forme PDF Preview

Forme PDF Preview

Forme

|
2 installs
| (0) | Free
Live PDF preview for React/TSX templates. Component inspector, layout overlays, and hot reload.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Forme PDF Preview

Live PDF preview for Forme templates. Edit JSX, see the rendered PDF instantly — without leaving VS Code.

Forme PDF Preview showing split pane with component tree, inspector, and live PDF

Features

  • Live preview updates as you type (400ms debounce) or on save (immediate)
  • Component tree in the VS Code sidebar
  • Inspector with box model, layout, spacing, and typography properties
  • Click any element to jump to source line
  • Click any element in the PDF to select in tree and inspector
  • Preview / Layout / Margins / Breaks overlay modes
  • Zoom controls

Usage

Open any .tsx file that imports from @formepdf/react and run:

Forme: Preview to Side from the command palette (Cmd+Shift+P)

Keyboard Shortcuts

Key Action
1 Preview mode
2 Layout mode
3 Margins mode
4 Breaks mode
Cmd+ / Cmd- Zoom in/out
Cmd+0 Fit to width

Settings

Setting Default Description
forme.autoOpen false Automatically open the preview when opening a Forme template file

Requirements

Your project needs @formepdf/react and @formepdf/core installed.

npm install @formepdf/react @formepdf/core

Documentation

Full docs at docs.formepdf.com

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft