For the Vanilla Cupcakes
- 1½ cups (190g) all-purpose flour
- 1¼ cups (250g) granulated sugar
- ½ cup (115g) unsalted butter, softened
- 2 large eggs
- ½ cup (120ml) whole milk
- 1½ teaspoons pure vanilla extract
- 1¾ teaspoons baking powder
- ¼ teaspoon salt
For the Homemade Chocolate Frosting
- ½ cup (115g) unsalted butter, softened
- 2 cups (240g) powdered sugar
- ½ cup (40g) unsweetened cocoa powder
- 3–4 tablespoons (45–60ml) heavy cream
- 1 teaspoon pure vanilla extract
- ¼ teaspoon salt