How to add a super basic topic custom field

Yes, always look at existing plugins.

Here’s an example:

Which relies on this connector and component: