Into a medium bowl whisk together flour, baking powder, baking soda, and salt; set aside.
Using a hand-held mixer, cream butter and sugar together until light and fluffy, about 4 minutes. Add eggs 1 at a time until just combined. Add vanilla and coconut extract. Add buttermilk and dry ingredients, being careful not to over mix. Mix in the shredded coconut.
Fill cupcake liners 2/3 full with batter. Bake for 15 to 18 minutes or until golden brown and toothpick inserted in the center comes out clean. Remove from oven and let cool on wire racks before frosting.
I used a whipped cream frosting found here. Then I topped each cupcake with some extra coconut flakes.
The nutrition information provided are only estimates based on an online nutritional calculator. This is not a comprehensive list of all the nutrients in the recipe (i.e., does not include vitamins, cholesterol, etc). I am not a certified nutritionist. Please consult a nutritionist or doctor for accurate information and any dietary restrictions and concerns you may have.