No clothing item seems quite as pervasive these days as a good pair of leggings. With the advent of athleisure, they’re no longer just the go-to for a workout but also for working from home or running to the grocery store. But come summer, we face the tough dilemma: Can we pull them off when it’s scorching outside? Will we be overcome by our own leg sweat? How do you wear leggings in the summer? It’s a question we need answered.

Judging by example, there are ways to make these all-purpose pants work for you even when the temperatures soar. Bottom line: It’s all about styling. We looked to some of the biggest legging advocates for inspiration, stars such as Gigi Hadid and Kendall Jenner who have proved time and again that you can really wear them for any occasion. Prepare to be inspired, and breathe easy knowing you won’t have to give up your go-to piece this season. Read on for a few ways to wear leggings in the summer.

On Kendall Jenner: House of CB crop top; Kookaï leggings; Nike sneakers; New Era baseball cap. If you’re willing to try a crop top but want a little extra coverage, try adding a vest or cover-up on top.

On Emma Roberts: Fabletics Angela Capri; New Balance sneakers; Balenciaga Papier A4 Mini Leather Tote. For a workout, give this twist on the standard tank a try.

On Elsa Hosk: Reebok sneakers; Fendi bag. Since temperatures can drop at night, there’s nothing wrong with keeping a denim jacket on hand just in case.

On Gigi Hadid: Danielle Guizio sweatshirt; Reebok leggings; Reebok sneakers. Yes, you can wear a sweatshirt when it’s hot; just opt for one that’s cropped.

On Elle Fanning: Kate Spade New York x Beyond Yoga bralette and leggings; Miu Miu bag. Stay cool by skipping the T-shirt and showing off a stylish sports bra instead.

On Bella Hadid: Nikelab x Riccardo Tischi top and leggings; Johaab choker; Quay sunglasses; Givenchy bag. To add an extra cool factor to leggings and a tee, finish off your look with a trendy choker necklace.

This post was published at an earlier date and has since been updated. Next, discover our editor’s 15 holy-grail wardrobe basics.