News for hackers. Stuff that matters.

Ask HN: 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?

( 3 comments | 2 points | on HN )
Re:Ask HN: Building Great Embedded Web Apps? by pacifika on Sunday January 07, 2024 @06:20AM (#38900300)
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).
Re:Ask HN: Building Great Embedded Web Apps? by bentice on Sunday January 07, 2024 @07:00AM (#38900519)
Thanks for the tip!
Re:Ask HN: Building Great Embedded Web Apps? by beardyw on Sunday January 07, 2024 @10:20AM (#38901908)
Will it be cross origin? If so I think there are other issues.