HACKER Q&A
📣 bentice

Building Great Embedded Web Apps?


I’m building a web app that will primarily be embedded on my clients websites in an iframe or by other means. I am looking for articles, guides, or talks on best practices for building embedded web apps. Does anyone have any suggestions?

Some issues I’m encountering: - Building UI's with no scrolling - Responsive design within iframes - Testing different scenarios my iframe might be in

I really like Typeform’s embedded forms. Anyone have other products which have really good embedded functionality?


  👤 pacifika Accepted Answer ✓
Implementing these I’ve found it useful if the iframes content supports iframeresize (http://davidjbradshaw.github.io/iframe-resizer/), window message passing of url changes to the host site via the dom, and typically supports google analytics (usually not possible via iframe, only when embedding using scripts).

👤 beardyw
Will it be cross origin? If so I think there are other issues.