01 - Preheat oven to 350°F. Grease a 24-cup mini muffin tin thoroughly to prevent sticking.
02 - In a large bowl, cream together butter, brown sugar, and granulated sugar using an electric mixer until light and fluffy.
03 - Beat in eggs one at a time, ensuring each is fully incorporated before adding the next. Stir in vanilla extract.
04 - In a separate bowl, whisk together flour, baking soda, and salt to ensure even distribution.
05 - Gradually add dry ingredients to the wet mixture, mixing on low speed until just combined.
06 - Fold in semisweet chocolate chips by hand until evenly distributed throughout the dough.
07 - Scoop approximately 1 tablespoon of dough into each muffin cup. Press gently with fingers to create a shallow well in the center.
08 - Bake for 10-12 minutes or until edges are lightly golden. Do not overbake.
09 - Remove from oven and immediately press the center of each cookie down with the back of a spoon to reinforce the cup shape while warm.
10 - Let the cups cool in the pan for 10 minutes before transferring to a wire rack to cool completely.
11 - Beat butter until smooth. Gradually add powdered sugar and milk alternately, mixing until fluffy. Stir in vanilla extract.
12 - Divide frosting into three equal portions. Tint one portion with red gel and another with blue gel, leaving one portion white.
13 - Pipe or spoon colored frosting into the cooled cookie cups. Top immediately with red, white, and blue sprinkles.
14 - Serve immediately or refrigerate until ready to serve to maintain frosting structure.