Currently, Hubspot CMS allows developers to choose from a given set of available module field types which already span a large number of usecases.
However, with every website/theme project, developers come across multiple occasions where having the ability to create your own custom module field (UI) would be extremely benefitial.
To understand it a bit better, let's start with separating the "UI" of a custom field with its underlying field data type. We've noticed, when developing react modules, that the "fields sidebar" seems to be build up out of react components already. It should be possible to allow developers to create their own react components that inherit from a base component or in another way are held to a contract and that then can be used as a module field.
Quick example use case: the hubspot icon field is only usable if you want to use font awesome. more often than not, a customer wants to have a custom icon set and an intuitive way to "pick" an icon from this set. if we would have the ability to develop our own icon picker module field UI, we could give content editors this functionality.
The possibilities are numerous. A "map" location picker. A custom image picker with image cropping and optimization built in. A selector for data from another business system, better blog post picker, ...