<svg width="250px" height="60px" viewBox="0 0 250 60">
  <g style="font-size: 12pt;">
    <path d="M 125 10 125 60"
      style="stroke: gray; fill: none;"/>
    <text x="125" y="30" style="text-anchor: ">
      Sample Text
    </text>  
  </g>
</svg>
Sample Text