How to set HTML attributes for code components?

Is there a way we can make the HTML Attributes section show for code components? We see all the styling options after adding the className prop, but HTML Attributes fold doesn’t show for code components.

Not yet, but what kind of component is this, can you say a little bit more about it? Just trying to see if something like a custom behavior attachment would be a better fit.

For instance, attributes on buttons versus links versus inputs versus divs are all different. Is the HTML tag itself also variable?