Riftix Console Bridge

Riftix Console Bridge

Shopify App Bridge–style messaging layer for embedded product iframes.

Riftix Console Bridge is a typed postMessage protocol that lets embedded product iframes control host chrome — toasts, modals, breadcrumbs, and navigation — without sharing origin or build context with the host.

It is the infrastructure layer of the Riftix Console: a multi-product shell where each product runs as a sandboxed iframe served from its own origin.

Packages

PackageRole
@riftix/console-bridge-typesShared protocol types and constants — no runtime code.
@riftix/console-bridge-hostHost-side transport. Registers iframes, dispatches RPCs, broadcasts context and authorization.
@riftix/console-bridge-host/reactReact provider and <ConsoleIframe> component.
@riftix/console-bridge-snippetIIFE bundle (riftix.js) loaded by the client page. Installs window.Riftix.
@riftix/console-bridge-snippet-typesTypeScript types for window.Riftix — import as a side-effect for JSX and Window augmentations.
@riftix/console-bridge-snippet-reactReact hooks that read from window.Riftix.

Quick navigation

On this page