In a bain marie, melt the the butter, sugar, and cocoa. Mixing until the sugar is incorporated. Remove from the heat.
In a small bowl, beat the egg and slowly drizzle into the mix, whisking to combine.
Stir in crumbs, almonds, and coconut.
Line 2 sides and the bottom of an 8x8 pan with parchment paper, letting the side pieces hang over (to give you handles to lift the bars out),
Press the mix firmly into the pan until level.