The rising star was pronounced dead on Monday evening at Fort Lauderdale hospital after he was gunned down by two suspects in black hoodies, with the shooter wearing a red mask.
Both suspects fled the scene in a dark-colored SUV, Broward Sheriff's Office said in a statement.
Following the rapper’s death, his fellow artists expressed shock and sadness.
Kanye West said: "Rest in peace… I never told you how much you inspired me when you were here thank you for existing."
Diplo posted a photo of the two together and said, "Thanks for inspiring me."
— Travis Barker (@travisbarker) June 18, 2018
— J. Cole (@JColeNC) June 18, 2018
Miley Cyrus posted a screenshot showing the rapper’s song lyrics, “before I close my eyes.”
XXXTentacion became famous after receiving huge streaming numbers on Spotify. His song "Sad!" received more than 270 million streams and was on its Top 50 chart in the US and worldwide.
He also attracted the attention of the audience with his offbeat look, as he had dreadlocks and many tattoos, including some on his face.
Like many rappers, XXXTentacion had trouble with the law and was earlier facing trial on charges of savage violence by his pregnant girlfriend.
Social media has been abuzz with reaction at the rapper’s untimely death.
— xXxMentalPussy (@HysteriaSiberia) June 19, 2018
— Ethan Dolan (@EthanDolan) June 18, 2018
— Poolside (@scumbagpool) June 18, 2018
— xxxtentacion_Idol (@xxxtentacionId1) June 19, 2018
— Ethan Payne (@Behzinga) June 19, 2018