Align Rotation with snapping target

Where can I find Align Rotation with snapping Target button in a new version of blender? It was on the right of the magnet icon Snap in the previous version.

Change the snap element. You won’t see it when set to the default grid increment as it would serve no purpose

Found it. Thank you!