SVG / Drawing Object Guidance

For the simple shapes you are using there you can just use the built-in label component. Leave the text field blank, set the background color with a binding and set the corner radius property. To be a bit cooler you can apply a subtle gradient to the fill.

See more on How to make the circle icon as in image in perspective. (A circle is a square with 50% border radius.)