How can I use 9-slicing on the gui?

I created a texture atlas and set the 9-slicing, but the Image Element doesnt allow me to use it as a texture. The doc mentions Image Elements can use this so there may be a way? thanks

I’ve only seen the image element work with 9 slice using sprite assets. There’s an example here: https://developer.playcanvas.com/en/tutorials/tutorial-shop-user-interface/

Thanks, checking it out