Rapper XXXTentacion was shot and killed in Florida on Monday (June 18), police have said.

The 20-year-old rapper, whose real name was Jahseh Onfroy, was leaving a motorcycle dealership shortly before 4pm local time when two armed suspects approached him in an apparent robbery.

He was shot and the two men fled the scene in a dark coloured SUV.

The music star was taken to hospital where he was pronounced dead.

Police are searching for the two armed suspects and have urged anyone who witnessed the shooting to come forward.

XXXTentacion's short career had been overshadowed by alleged incidents of domestic violence and at the time of his death he was facing 15 felony charges.

They included counts of false imprisonment, aggravated battery of a pregnant woman and domestic battery by strangulation, for alleged incidents involving his ex-girlfriend in 2016.

The rapper released two studio albums, 17 and ?, with the latter reaching number one on the Billboard 200 chart in March.

The album's single Sad! peaked at No. 7 on the Billboard Hot 100 and spent 15 weeks on the charts.

In May, he was one of the artists temporarily banned from Spotify's in-house playlists due to its policy of not promoting artists with a history of alleged hateful conduct.

Tributes to the controversial rapper have been pouring in from fellow musicians in the wake of his death.

Kanye West said "I never told you how much you inspired me when you were here".

Rapper Big Sean tweeted that his "heart dropped" when he heard the news, saying "I feel like we only got to see a glimpse of his artistry".

Tennessee rapper Juicy J, hip-hop star Tyga and the DJ Diplo  were among the other music stars to tweet their condolences.

Click here for more music news and reviews