Ingredients
Equipment
Method
Bake and cool
- Bake the cupcakes according to package directions in lined muffin tins until a toothpick comes out clean, about 18–22 minutes. Cool completely on a wire rack so frosting won’t melt.
Make the buttercream
- Beat the softened unsalted butter until fluffy, about 1–2 minutes, in a stand mixer. Scrape the bowl as needed.
- Gradually add powdered sugar with the mixer on low, then increase to medium to combine, about 2 minutes. Mix until smooth with no dry pockets.
- Add vanilla extract and 3 tablespoons heavy cream, then beat on high for 3 minutes until very light and fluffy. If needed, add more heavy cream (up to 1 tablespoon) to reach a pipeable texture.
Color and pipe tri-color swirls
- Divide the buttercream into three portions, leaving one white, coloring one portion red, and coloring one portion blue with gel food coloring. Mix each portion until the color is even.
- Load a piping bag fitted with a large star tip with the three colors side by side for a tri-color swirl. Keep the bag tightly packed for clean stripes.
- Pipe a tall swirled peak onto each cooled cupcake, holding steady and finishing with a quick upward pull. Aim for a dramatic tower shape like a firework burst.
Finish with sprinkles and sparkler picks
- Shower each cupcake with red, white, and blue star sprinkles over the frosting peaks. Let some sprinkles cascade down the sides for the fireworks look.
- Insert a sparkler pick into the center of each cupcake, pushing gently into the frosting so it stands up. Serve immediately while the effect is fresh.
Notes
Pro tip: Keep cupcakes completely cool before piping—warm cakes will cause the buttercream to slide. Store cupcakes covered in the refrigerator up to 2 days; bring to room temperature for the best frosting texture. For freezing, freeze unfrosted cupcakes up to 2 months (thaw, then frost); buttercream can be frozen and re-whipped after thawing. Dietary swap: Use a vanilla cake mix labeled egg-free and adjust the mix additions per the box for an egg-free option (but keep the frosting dairy unless you substitute plant-based butter and cream).
