How to make a multi-step form input data to a downloadable pdf

Hi, I am a newbie to react and meteor. Is there a way to get user information from forms to specific fields in an HTML template which is dynamically converted to pdf, if possible with live preview, which can then be downloaded by the user. it’s basically an app that creates legal templates like legaltemplates.net.