Honestly your question is very bad, but reading the tags I think I understand more or less what you want...
I understood that you want to build a form dynamically, if that’s my recommendation is you think about creating meta data templates of the form you want to render and then assemble your form according to the data structure of this meta data.
Example:
[
{
type: 'Input',
label: 'My Input Label',
value: null // ou pode vir com dados carregados do server
},
{
type: 'Checkbox',
label: 'My Checkbox Label',
value: [],
options: ['Option 1', 'Option 2', 'Option 3'] // para simplicidade usando string, mas pode usar um objeto complexo conforme sua necessidade
}
]
All you have to do is create a component for each type, so each component knows how to render and treat each type of element in your form.
Then its component "Father", delegates your form item to a specific "Son" component, but he who knows which child component to use to render, treat and etc.
Here is a short example I made in the codesandbox: