Camila Cabello looked like royalty when she strutted across the red carpet at Heidi Klum’s 22nd annual Halloween party on Tuesday night in New York City.

The 26-year-old pop star was the spitting image of Anne Hathaway in her star-making film The Princess Diaries thanks to her brilliant white mini dress and sunglasses.

She mimicked the 40-year-old Oscar winner’s playful attitude with the shades and a pair of old-school wired headphones, perfectly mimicking the 2001 hit comedy’s poster, which also featured Julie Andrews, 88.

As fun as her costume was, it was far more reserved than the evening’s host Heidi Klum’s costume, which saw her transformed in a stunning blue peacock while a 10-person entourage comprised her green tail feathers and her husband Tom Kauliz accompanied her in a hilarious egg costume.

Camila showed off her toned legs thanks to the super-short dress, which only reached to the top of her thighs.

Woman in white: Camila Cabello, 26, stunned in a short white mini dress as she arrived at Heidi Klum’s 22nd annual Halloween party on Tuesday in New York City

Royal style: Camila appeared to be inspired by Anne Hathaway’s breakthrough role in The Princess Diaries, and especially the image of her on the film’s poster

The silky off-the-shoulder item shimmered in the light and was decorated with delicate floral embroidery.

Camila added a touch of glamour with white satin gloves that reached up past her elbows, while also mimicking some of Anne’s Princess Diaries looks.

The Cuban-born beauty had her raven tresses piled atop her head in the midst of a glowing tiara, and she sported chic bangs.

She had on a set of slim black sunglasses to make her intended costume inspiration obvious, and she had on a pair of slim headphones that reached over her tiara, with their cord appearing to descend into her handbag.

She wore a glittering silver bag that was tucked under her arm and featured a thick black strap.

Camila completed her look and elevated her 5ft2in stature with a pair of white open-toe heels, and she flashed a peace sign with her gloved hand as she walked down the red carpet.

She gave a closer look at her heels, which featured glittering bow designs over her toes, in posts to her Instagram Stories.

The Havana hitmaker framed her perfect pout with her gloved hands in another photo.

Having fun with it: Like the 40-year-old Oscar winner, Camila paired her lovely dress with care-free sunglasses and old-school wired headphones

Leggy look: showed off her toned legs thanks to the super-short dress, which only reached to the top of her thighs

On point: Camila completed her look and elevated her 5ft2in stature with a pair of white open-toe heels

Stunner: Camila added a touch of glamour with white satin gloves that reached up past her elbows, while also mimicking some of Anne’s Princess Diaries looks

Legs for days: She flaunted her fit legs in a glamorous yet casual snap showing her relaxing in a blue velvet booth during some downtime at the party

Cooling down: One image showed her playfully leaning down to the table to take a handsfree sip from her drink

Old school: She turned the tables in a black-and-white photo that showed her snapping a picture from an actual camera, rather than just using her phone

Having a blast: Although Camila looked too cool for school in her sunglasses, she removed them in one fun snap as she grinned and stuck her tongue out at the camera

Sparkler: She also included some closeups of her delicate shoes in her Instagram Stories, revealing the glittering bows over her toes

She flaunted her fit legs in a glamorous yet casual snap showing her relaxing in a blue velvet booth during some downtime at the party.

One image showed her playfully leaning down to the table to take a handsfree sip from her drink, though it wasn’t clear if she contorted herself to avoid possibly spilling on her dress or just to be silly.

She turned the tables in a black-and-white photo that showed her snapping a picture from an actual camera, rather than just using her phone.

Although Camila looked too cool for school in her sunglasses, she removed them in one fun snap as she grinned and stuck her tongue out at the camera.