Beat butter until light and fluffy using an electric mixer. Sift in powdered sugar and cocoa powder. Add salt and vanilla.