Place the sugar and water in a medium saucepan and swirl the pan until the sugar is fully immersed in water.
1 cup (200g) granulated sugar, 1/4 cup (60mL) water
Place the saucepan over medium heat until the sugar dissolves and comes to a gentle simmer.
Reduce the heat to low and place the lid on the pan and allow the mixture to simmer for a couple minutes.
Meanwhile, place the eggs in the bowl of a stand mixer, fitted with the whisk attachment, and turn the mixer up to high speed. Let it whip while the sugar is cooking.
2 large eggs
Use a candy thermometer to see when the sugar reaches 240F (116C), then lower the mixer to medium speed and slowly drizzle the hot sugar syrup into the thick and foamy eggs, while they are whipping.
Turn the mixer back up to high speed and let it whip for 5-10 minutes, until the mixture is very pale and fluffy and is cool to the touch or no longer warm.
Turn the mixer back down to medium speed and add in the butter, 2 Tbsp of butter at a time, mixing until each chunk is fully combined and the buttercream looks smooth and creamy.
1 cup (227g) unsalted butter
Scrape the sides and bottom of the bowl, add in the vanilla and salt and turn the mixer up to high speed for 1-2 minutes.
2 tsp vanilla bean paste, 2 tsp pure vanilla extract, 1/8 tsp fine sea salt
To get rid of the excess air bubbles (for smoother piping), switch to a paddle attachment and turn the mixer to low speed for 5-10 minutes.
Once the cupcakes have cooled, use a piping bag to frost the cupcakes. Top with sprinkles, gold luster dust, and/or edible gold foil.