When I was a child in NYC my aunt had a mint patch in a narrow driveway between two houses. The stuff got very little sun, but thrived.
Have had a patch in the hottest of Florida suns, it did fine. Used to make mint juleps with it on Kentucky Derby day.
When we moved here, VA, half our limited garden space was taken over by the stuff.
We now have a small patch, and that is going to be removed.
The stuff is a weed as far as we can tell, and seems to grow in almost any climate.
Will it grow in the shade? Yep, and almost anywhere else.
Breezy is right, as usual. Mint sends out runners, like, oh raspberries, and they will pop up anywhere.
Chives, and many other herbs, will just seed themselves.
And so they are not perennials, but act that way.