Add cocoa powder and pinch of salt to melted butter and stir to combine, then, alternatively, add 1/3 of powdered sugar, stir, then 1/3 of milk and stir until all used. Add vanilla and mix until smooth and creamy. Add more milk or powdered sugar to get it to the consistency you desire.