01 -  Line an 8x8-inch square baking pan with parchment paper, ensuring an overhang on the sides for easy removal. 
 02 -  In a medium saucepan over low heat, combine the white chocolate chips, unsalted butter, and sweetened condensed milk. Stir constantly until the mixture is completely melted and smooth. 
 03 -  Add the ube halaya, ube extract, and salt to the saucepan. Stir until fully blended and the mixture achieves a uniform purple color. 
 04 -  Pour the fudge mixture into the prepared pan and spread evenly using a spatula. 
 05 -  Sprinkle the toasted shredded coconut and chopped roasted pistachios on top, gently pressing them into the surface. 
 06 -  Refrigerate the pan for at least 2 hours, or until the fudge is firm and set. 
 07 -  Remove the fudge from the pan using the parchment paper overhang. Cut into 24 small squares with a sharp knife. 
 08 -  Arrange the ube fudge squares on a charcuterie board or serve individually.