Beat the Butter:
In a large mixing bowl, beat the softened butter with an electric mixer on medium speed for 2–3 minutes until creamy and pale.
Add Sugar:
Gradually add the sifted powdered sugar, about 1 cup at a time, mixing on low speed until incorporated. Scrape down the sides of the bowl as needed.
Add Vanilla and Cream:
Add vanilla extract, 2 tablespoons of heavy cream or milk, and a pinch of salt (if using). Beat on medium speed for 3–5 minutes until light, fluffy, and smooth.
Adjust Consistency:
If frosting is too thick, add more cream, 1 teaspoon at a time. If too thin, add a little more powdered sugar until desired consistency is reached.
Use or Store:
Use immediately to frost cakes, cupcakes, or cookies. For piping, transfer frosting to a piping bag fitted with your desired tip.