So I have two tags buttons: admin and user, and bellow them a Login form and I want to do a little arrow pointing at what tag button is active. I have the code to form the arrow but I don't know how to align it to the top border pointing at the user.(with the animation process). Any ideas?
<svg
className="svg-arrow"
width="66" height="18" viewBox="0 0 66 18"
xmlns="http://www.w3.org/2000/svg"
>
<rect width="66" height="18" fill="#222222" />
<path
fill="#222222"
stroke="#909090"
d="M 0 17.886 C 12.855 16.446 28.613 20.401 33 -0.025"
/>
<path
fill="#222222"
stroke="#909090"
d="M 33 0 C 46.053 1.44 61.706 -2.515 66 16.911"
transform="matrix(-1, 0, 0, -1, 100 17.911)"
/>
</svg>