Existing html parser?

Hi,
I am getting html content, basically divs and images from my endpoint. Is there existing way to transform those to “Text” and “Image” forge ui elements or do I need to write my own parser?
Thanks