Figma Support Forum

Can I convert Figma shapes to HTML div containers?

Hey! So I am designing some art in figma currently (a Roman pillar) and wanted to know if there was some way that when I transfer it to my HTML code (I usually use SVGs but would be willing to use anything that works in this case) if I can container text to that shape. I want the pillar shape to act as a container of sorts so that I can fill it with text that will stay contained in the weirdly shaped div. Someone please let me know if this is possible or a different approach to this design idea. Thanks!