Heat the oven to 350F and line a muffin tin with 12 paper liners.
Whisk the flour, baking powder and salt together.
Cream the half cup of softened butter and the sugar until pale and fluffy, about three minutes.
Beat in the room-temperature eggs one at a time, then the vanilla.
Add the flour mixture and the milk alternately, beginning and ending with the flour, mixing just until combined.
Fill the liners about two-thirds full and bake for 16 to 20 minutes, until a skewer comes out clean, then cool completely.
For the frosting, beat the half cup of softened butter smooth, then beat in the powdered sugar and vanilla until light and fluffy, and pipe or spread onto the cooled cupcakes.