Ariana Grande performs for first time since Pete Davidson breakup.

Ariana Grande sounded as perfect as ever onstage Monday night, performing as part of NBC’s “A Very Wicked Halloween: Celebrating 15 Years on Broadway” special.

Grande’s appearance was her first public performance since her breakup with Pete Davidson and her ex-boyfriend Mac Miller’s death, two events which have dominated her life in previous weeks.

But Grande was a triumph Monday in green lipstick, a flowing ruffled top and thigh-high boots, singing “The Wizard and I” from the musical “Wicked.”

Grande previously posted updates from the special’s rehearsals, sharing that “Wicked” was her favorite Broadway show.

“Honored to be included in the celebration of 15 years of my favorite musical of all time,” Grande wrote. “Wouldn’t miss it for the whole universe.”

She also wrote about how her anxiety almost overcame her at another rehearsal.

“Can’t believe I almost let my anxiety ruin this for me today!” Grande captioned a since-deleted photo. “Not today Satan! Not tomorrow or the next day either not no more u can suck my big green (expletive) finna sing my heart out and be a big walking vessel of love bye.”