01 - Generously grease a 9x9-inch baking pan with butter or nonstick cooking spray, ensuring all corners and sides are coated to prevent sticking.
02 - Place butter in a large saucepan over low heat. Once melted, add mini marshmallows and stir continuously until completely melted and smooth, approximately 3-5 minutes.
03 - Add ube halaya and ube extract (if using) to the melted marshmallow mixture. Stir thoroughly until fully incorporated and the mixture achieves a vibrant purple color throughout.
04 - Remove saucepan from heat immediately. Pour crispy rice cereal into the ube-marshmallow mixture and fold gently with a spatula until all cereal pieces are evenly coated.
05 - Transfer the mixture to the prepared baking pan. Using a greased spatula or wax paper, press the mixture firmly and evenly into the pan, ensuring uniform thickness.
06 - If desired, drizzle melted white chocolate over the surface and immediately sprinkle with toasted coconut flakes for garnish.
07 - Allow treats to cool at room temperature for at least 1 hour until completely set. Cut into 16 equal squares using a sharp knife.