BARCELONA, Spain — On a recent afternoon on a hotel rooftop, the rapper Sho Madjozi was twirling one of her candy-pink plaits and talking through her signature style. These bright extensions were inspired by the decorative “Fulani” cornrows she had seen girls wearing in Senegal, she said. Her take on them has since become so popular, she added, that in South Africa, where she’s from, they’re called Madjozi braids.

“You can ask for them in a hair salon,” Madjozi said, with casual self-assurance. “They’ll know what you’re talking about.”

Madjozi, 27, whose real name is Maya Wegerif, is one of South Africa’s biggest breakthrough stars. She was in Barcelona in July to perform at Sónar, one of several dance music-focused European festivals she played in the past 12 months, along with CTM in Berlin and Unsound in Krakow, Poland.