Hi @adkaros and welcome,
Definitely both options are great and come with their set of benefits / drawbacks.
Playcanvas UI elements have evolved so much that I’d say it’s a very robust solution and most likely your first option when it comes to building a game UI. Also if you are planning to do 3D UI or VR interfaces then it’s the only way, since HTML/CSS can’t be rendered there.
Here is a helpful post with some thoughts on how the Playcanvas UI elements scale between different devices/displays: