Heat the oven to 350°F and line an 8-inch square pan with parchment.
Whisk together the almond flour, cocoa powder, powdered sweetener, baking powder, and salt.
Stir the butter, eggs, and vanilla together until smooth, then mix into the dry ingredients to make a thick batter.
Fold in 1/4 cup of the shredded coconut.
Spread the batter in the pan and scatter the remaining coconut on top.
Bake for 22 to 25 minutes. If the coconut starts browning too quickly, loosely cover the pan with foil for the final few minutes.
Let the pan cool completely before slicing.