01 - Preheat the oven to 350°F. Line a baking sheet with parchment paper and set aside.
02 - In a medium bowl, whisk together the all-purpose flour, baking powder, and salt until well blended.
03 - In a large bowl, beat the softened butter and granulated sugar with an electric mixer until light and fluffy, about 2-3 minutes.
04 - Beat in the egg, ube halaya, and vanilla extract until fully incorporated. Add ube extract now if using for deeper color.
05 - Gradually add the dry ingredients to the wet mixture, mixing just until combined. Be careful not to overmix.
06 - Gently fold in the sweetened shredded coconut until evenly distributed throughout the dough.
07 - Scoop tablespoon portions of dough and roll into balls. Roll each ball in desiccated coconut to coat completely.
08 - Place the coconut-coated balls on the prepared baking sheet, spacing them about 2 inches apart to allow for spreading.
09 - Bake for 13-15 minutes, or until cookies are set and lightly golden on the bottoms while still slightly soft on top.
10 - Let cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely before serving.