His first album, “Goodbye & Good Riddance,” was released in 2018 and eventually certified platinum; its follow-up, “Death Race for Love,” debuted at No. 1 on the Billboard 200 in March. In between, he released “Wrld on Drugs,” a collaborative mixtape with the rapper Future, a stylistic forebear who seemed glad to pass the torch.

Juice WRLD frequently touched on themes of mental health, suffering and mortality in his music.

In June 2018, following the deaths of two of his musical contemporaries, XXXTentacion and Lil Peep, he released a two-track EP online titled “Too Soon.” It includes the song “Legends,” in which he sings, “They tell me I’ma be a legend/I don’t want that title now/‘Cause all the legends seem to die out.”

Fellow rappers and collaborators expressed their shock on social media. Chance the Rapper called Juice WRLD “a young legend” on Twitter. Ellie Goulding, who sang with Juice WRLD on the song “Hate Me,” wrote, “You had so much further to go, you were just getting started.”

Interscope Records said in a statement on Sunday: “Juice made a profound impact on the world in such a short period of time. He was a gentle soul whose creativity knew no bounds.”