"Islands" of hotwire in a native app?

@benjamin-hull Ben
Thu, 04 Dec 2025 05:28:17 +0000

Hi - fairly new to Hotwire and Hotwire Native especially. We have a pair of existing native apps that we’re interested in adding HwN to, and I’m wondering if the following is possible (or if I’m just thinking about this completely wrong!)

We can see how full screen of Hotwire content work, alongside the routing, navigation, etc. What about if we wanted to specify an ‘island’ of Hotwire content in an area of a native view? This wouldn’t need to participate in routing, etc - the native view would essentially load a fixed HW URL into an element of a fixed size on a page. In browser-terms, this would be an iframe.

Can we do the equivalent in HwN? As a concrete example, we have a screen with a tabbed interface - can I replace the contents of one tab with HwN content, while leaving the tabs themselves, navigation, etc as their existing native content?