How to set the position of the Canvas with the text relative to the sprite?

I want to create a sprite prefab with the caption below. How to set the Canvas with the text position relative to the sprite?

Analogy with web layout:

.sprite {position: relative;}
.sprite .canvas {position: absolute;}

Create a word-space canvas and child it to a sprite.