We tried to achieve the same by adding both the recipes in backend and frontend.
For frontend we use this:
export const PreBuiltUIList = [ EmailPasswordPreBuiltUI , PasswordlessPreBuiltUI];
Still it is picking EmailPasswordPreBuiltUI. How can we configure the logic to pick the UI out of this?