Input with icon

<div class="form-control-with-icon">
    <input type="text" id="exampleFormControlWithIcon1" class="form-control" />
    <svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 34">
        <g fill="none" fill-rule="evenodd">
            <path
                fill="#2D3742"
                d="M13.25 2c-3.102 0-5.752 1.1-7.951 3.299C3.099 7.498 2 10.149 2 13.25c0 3.102 1.1 5.752 3.299 7.951 2.199 2.2 4.85 3.299 7.951 3.299 2.2 0 4.201-.579 6.007-1.736l8.472 8.507A2.41 2.41 0 0 0 29.5 32a2.41 2.41 0 0 0 1.77-.73A2.41 2.41 0 0 0 32 29.5a2.41 2.41 0 0 0-.73-1.77l-8.506-8.473C23.92 17.45 24.5 15.449 24.5 13.25c0-3.102-1.1-5.752-3.299-7.951C19.002 3.099 16.351 2 13.25 2zm0 18.75c-2.06 0-3.825-.735-5.295-2.205-1.47-1.47-2.205-3.235-2.205-5.295s.735-3.825 2.205-5.295c1.47-1.47 3.235-2.205 5.295-2.205s3.825.735 5.295 2.205c1.47 1.47 2.205 3.235 2.205 5.295s-.735 3.825-2.205 5.295c-1.47 1.47-3.235 2.205-5.295 2.205z" />
        </g>
    </svg>
</div>