Many celebrities took to social media to show off their red, white and blue attire during Fourth of July weekend, and they all had a blast! Some celebrated with their families, some with their friends, and some were lucky enough to attend Taylor Swift's epic celebration. Whatever they were doing, they were looking their best and having an awesome time showing their pride.

Stars like Kim Kardashian and Miley Cyrus went all out with their patriotic-themed outfits, while others, like Selena Gomez and Beyoncé kept it sweet and simple. Kate Hudson danced around in her pajamas while singing "The Star Spangeled Banner," while Justin Bieber boarded a plane with friends. Wherever they were and whatever they were wearing, they were just happy to celebrate.

There were plenty of sexy American flag-themed bikinis and even a few onesies from the Jonas Brothers. Alessandra Ambrosio, Vanessa Hudgens and Rumer Willis were among the group of celebs to show off their bodies in red-white-and-blue bathing suits.

See what all the stars chose to wear this holiday weekend below!

Kim Kardashian

Miley Cyrus

Selena Gomez

Beyonce

Justin Bieber

Taylor Swift & Friends

Taylor Swift & Calvin Harris

Joe & Nick Jonas

Vanessa Hudgens

Rumer Willis

Kourtney Kardashian

Alessandra Ambrosio

January Jones

Oprah

Lucy Hale

Bella Thorne

Reese Witherspoon

Gigi Hadid

Emmy Rossum

Ashley Tisdale

Laverne Cox