Preheat oven to 350°F.
Line muffin tin with cupcake liners.
Mix flour, baking powder, and salt together.
Cream butter and sugar until light and fluffy.
Add eggs one at a time, mixing well.
Stir in lemon zest and vanilla extract.
Alternate adding dry ingredients and milk.
Gently fold in fresh raspberries.
Fill cupcake liners two-thirds full with batter.
Bake for 18 minutes until golden brown.
Cool completely on wire rack before frosting.
Beat butter until creamy for frosting preparation.
Gradually add powdered sugar and lemon juice.
Pipe or spread frosting on cooled cupcakes.