Tip for fellow comment browsers: If you only support Browsers with an inbuilt PDF-Viewer (Edge, Chrome, Firefox), you can also embed that one into your Views using com.vaadin.flow.component.html.HtmlObject
HtmlObject pdfViewer = new HtmlObject(); pdfViewer.setWidth(100, Unit.VW); pdfViewer.setHeight(100, Unit.VH); pdfViewer.setType("application/pdf"); pdfViewer.setData( /*Your PDF-File as an AbstractStreamResource*/ );