All of the react embedding examples are under pages/
and the ones done for plain apps are under standalone-app/
The example for building and making Custom-UI work with sdk is in App.tsx
window.emperia.events.dispatchEvent(
new CustomEvent('fromUserInterface', { detail: { name: 'changeLocale', data: 'fr' } }),);