01 - Preheat the oven to 350°F. Line a baking sheet with parchment paper.
02 - Whisk together the flour, baking powder, and salt in a medium bowl. Set aside.
03 - Beat the softened butter and sugar in a large bowl until light and fluffy, about 2-3 minutes.
04 - Mix in the egg, ube halaya, and vanilla extract until fully incorporated. Add ube extract if using for deeper color.
05 - Gradually add the dry ingredients to the wet mixture, mixing just until combined.
06 - Fold in the sweetened shredded coconut until evenly distributed.
07 - Scoop 1-tablespoon portions of dough and roll into balls. Coat each ball in desiccated coconut.
08 - Place the coconut-coated balls on the prepared baking sheet, spacing about 2 inches apart.
09 - Bake for 13-15 minutes until cookies are set and lightly golden on the bottoms.
10 - Let cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.