Sift sugar and cocoa together in a medium bowl. Whisk in butter, milk, and vanilla until smooth. Use immediately.