UPF clothing, such as swimwear, hats, and t-shirts, provides a physical barrier between the sun and your baby’s skin, especially their arms and legs. Like SPF for sunscreen, it has a rating. For example, UPF 50 provides more sun protection than SPF 30. But even if your baby is wearing UPF clothing and a hat, it’s still important to keep babies out of harsh, direct sunlight.