Skip to main content

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 theme to match.
  • A successful test swap fires the host’s analytics events (Swap:confirmed) with the expected payload.
  • The partner identifier is present at runtime but not hardcoded in the source tree.
Last modified on June 14, 2026