Preheat oven to 160 degrees celsius (fan-forced). Grease and line a square baking tin with baking paper and set aside.
Place butter into the Thermomix bowl and melt for 3 minutes, 100 degrees, Speed 1. Allow to cool.
Add the sugar, egg and vanilla extract to the Thermomix bowl and mix on Speed 5, 20 seconds. Scrape down the sides of the bowl.
Sift the flour and cocoa into the bowl and add the coconut. Mix on Speed 2, 20 seconds or until mixture has combined (use the spatula to assist with mixing).
Spread mixture evenly into pan and smooth the surface with a spoon. Bake for 25-30 minutes or until just firm.
Place the icing sugar and cocoa powder into the Thermomix bowl and press Turbo 5 times to sift.
Add butter and boiling water and mix together on Speed 5, 15 seconds or until smooth (add a little more water if the icing is too thick).
Spread warm slice with icing and decorate with sprinkles.