Doc cog UI usage in PWA cards

In PWA bot can we have a feature like doc cog, where when we click on preview where on the same page there is a small section of pdf displayed?
Can we have the same UI if we use CTA in cards?