Outcome
A React component that mounts the Velora Widget. Its light/dark theme follows the host app,partnerConfig.partner attributes swaps to the host, and lifecycle events feed the host’s analytics.
The widget is a drop-in React component; there is no iframe build. You can switch between bundled light and dark themes (or follow system preference). See Customize.
Prompt
End-state check
- Toggling the host app between light and dark flips the widget’s
themeto match. - A successful test swap fires the host’s analytics events (
Swap:confirmed) with the expected payload. - The
partneridentifier is present at runtime but not hardcoded in the source tree.