01 - Preheat the oven to 350°F. Line an 8x8-inch baking pan with parchment paper, leaving an overhang for easy removal.
02 - Combine flour, shredded coconut, sugar, and salt in a medium bowl. Stir in melted butter until the mixture resembles wet sand.
03 - Press the crust mixture evenly into the bottom of the prepared pan. Bake for 12-14 minutes until lightly golden.
04 - Gently toss raspberries with sugar in a small bowl. Set aside while crust bakes.
05 - Whisk together eggs and sugar until smooth. Add flour, baking powder, lemon juice, lemon zest, and vanilla extract. Whisk until well combined.
06 - Remove crust from oven. Evenly scatter the sugared raspberries over the warm crust.
07 - Pour the lemon filling gently over the raspberries, spreading evenly. Sprinkle with additional shredded coconut.
08 - Return the pan to the oven and bake for 25-28 minutes until the center is just set and edges are lightly golden.
09 - Let cool completely in the pan on a wire rack. Refrigerate for at least 2 hours for clean slicing.
10 - Lift out using parchment, cut into 16 bars, and dust with powdered sugar if desired.