In a medium mixing bowl, beat butter with an electric mixer for 30 seconds. With mixer on low speed, add powdered sugar, a little at a time, beating until combined.
Add the cooled chocolate, vanilla, chocolate flavoring, and salt, if you like. Beat until smooth. Cover and chill in refrigerator.
Serve at room temperature. Makes 1 cup (16 servings).