I had the same need, and it’s surprisingly tricky. I came up with a solution that uses a Custom HTML component to create an iframe with a Google Drive viewer. It shows a PDF I’ve stored in a a Data Table.
It winds up looking like this —
Here’s a clone-able example app: https://anvil.works/build#clone:35VXDFWK66XZVF3K=JV2ABGJ7TWYEJBW4CEPSXKKV
Hope this helps!