UI Pilot is an AI-powered code generator. You can ask it to create a form-based UI for you and it'll provide the code and a running example here.
Try typing something like:
create a form with fields for first and last name
Give it some time to generate the code. Afterwards, you can ask it to make further changes, like "add a submit button".