Create custom field or add layout field in v2

I want to use the layout field, but I can’t find how to add it. Is there a way to do this somehow or write an addon that implements this.

The layout field in v2 is part of the pro version. You can try it out for free during development https://files.getcockpit.com/releases/master/cockpit-pro.zip