Hip-hop recording artist Cardi B performs at the 2018 Global Citizen Festival in Central Park on Saturday, Sept. 29, 2018, in New York. Picture: AP

'Bodak Yellow' hitmaker Cardi B has performed live for the first time since giving birth in July as she took to the stage at the Global Citizen Festival over the weekend.

The 'Bodak Yellow' hitmaker - who welcomed daughter Kulture Kiari Cephus into the world in July - was part of a star-studded lineup for the event staged at New York's Central Park, and it marked her return to the stage after becoming a mother for the first time.

Cardi - whose real name is Belcalis Almanzar - showed off her figure at the event on Saturday during a set featuring the likes of 'Be Careful', 'She Bad' and 'Drip'.

Also on the bill were the likes of Janet Jackson, John Legend and The Weeknd, while Coldplay frontman Chris Martin calmed down the crowd after a barrier collapsed and saw fans dashed for the exits amid fears a gunman had opened fire on the packed-out audience.

He said on stage: "What happened is a barrier fell down.

"Of course it caused people to frightened, but nobody is trying to hurt anybody."

He then invited NYPD Assistant Chief Kathleen O'Reilly on stage to further reassure the crowd.

The officer said: "Everyone relax, calm down. It was a barrier collapse. There were no shots fired."

The 'Viva La Vida' hitmaker then encouraged the audience to head back to the concert.

He quipped: "If you want to come back and you're not too frightened by Hugh Jackman's huge muscles and you wanna come back, this is the time. Slowly, gently, kindly to each other."

A spokesperson for the event confirmed there had been a "minor incident".

They told E! News: "We did have a minor incident. A barrier collapsed and it made a noise...Police say no cause for alarm."