How to create a new custom component form field?

The image presents a new form form Web form field

As shown in the picture, Name of the cartography is a new form form Web form field.

I want to create it via a custom module.

Thank you!