Call a LiveView/Phoenix component dynamically

Function.capture/3 is what you’re looking for.