How to create a custom form in composer?

If I am understanding correctly. This Plugin might be what you’re looking for

This plugin might also help you as an alternative.