Add webcomponent to template in Phoenix

In order to create a nice edit form for an array of maps, I was looking into the input_helpers. Exploring ways to make this work I decided to try and add a webcomponent to manage the content of the data field. But soon I found out the the content_tag does only accept atoms as valid tags.
Does anybody know ways to make this work or at least know if webcomponents will be supported in the future?

Welcome to the forum!

If this was my problem I’d start by looking at solutions involving Render templates within templates and/or Shared Templates Across Views.

I’d imagine it would involve defining a my_component.html.eex template that renders the webcomponent tag and a render_my_component function that is more convenient to use in other templates.

For another example of templates within templates have a look at this post.