Preheat oven to 350°F. Grease two 12-cup muffin tins with cooking spray.
In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
In a large bowl, cream together the butter and sugar until light and fluffy. Add the eggs one at a time, beating well after each addition. Add the vanilla and mix until blended.
Add the dry ingredients to the wet ingredients and mix until just blended.
Using a cookie scoop or a spoon, drop the cookie dough into the muffin tins, filling each cup about ¾ full. Bake for 12-15 minutes, or until the edges are lightly golden brown. Allow the cookies to cool in the pan for 10 minutes before transferring to a wire rack to cool completely.
Spread the coconut buttercream frosting over the cooled cookies. Sprinkle with the shredded coconut, if desired.
Interesting Facts
Sugar cookie cups can be stored in an airtight container for up to 3 days.
These cookie cups can also be frozen for up to 3 months.
The coconut buttercream frosting can be made with either store-bought or homemade buttercream frosting.