Several U.S. Presidents have been spotted wearing sunglasses in public. Some examples include:
John F. Kennedy was often seen wearing sunglasses, particularly the Ray-Ban Wayfarer model, which was a popular style at the time.

Ronald Reagan was also known for wearing sunglasses, particularly during outdoor events and while on vacation.

Barack Obama was frequently seen wearing sunglasses, both while in office and during his post-presidency. He was often seen wearing the Ray-Ban Aviator model, which is a classic style that has been popular for decades. Obama was also spotted wearing Oliver Peoples Lachman sunglasses on some occasions.

Joe Biden, who is the current President of the United States at the time of writing this article, was spotted wearing Ray-Ban 3025 sunglasses on several occasions.

It's worth noting that sunglasses were not commonly worn by past presidents, as it is not a common accessory in the past. Only three Presidents - Theodore Roosevelt, Woodrow Wilson and Harry Truman wore eyeglasses in public while they were president.