Is it possible to make a simple LWC (without aura) that loads a dynamic Flow (text parameter) into a modal popup? I would think this would have already existed using the SLDS Modal but every sample I come across seems much more complicated than necessary; with dependencies on other code repos/components (for example). Unfortunately my JS is not very strong so I'm having trouble getting this concept to work.

I've found this simple example for setting up a modal but I don't understand how I would dynamically load a Flow into it. Can anyone provide some insight or explanation?


1 Answer 1


Create a lwc component with modal html in it and create an @api variable in the js. Bind the value of @api variable to the html. Pass the value from parent component to show in the modal.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .