01 - In a medium bowl, whisk together flour, baking powder, and salt. Set aside.
02 - In a large bowl, beat the softened butter and sugar until light and fluffy, approximately 2 to 3 minutes.
03 - Add the egg and vanilla extract; beat until fully combined.
04 - Gradually add the dry ingredients to the wet mixture; mix until a smooth dough forms.
05 - Divide the dough in half, shape into discs, wrap in plastic wrap, and refrigerate for at least 1 hour.
06 - Preheat oven to 350°F. Line baking sheets with parchment paper.
07 - On a lightly floured surface, roll out dough to 1/4 inch thickness.
08 - Cut out heart shapes with a cookie cutter. Place cookies 1 inch apart on prepared baking sheets.
09 - Bake for 8 to 10 minutes, or until edges are just beginning to turn golden. Cool completely on a wire rack.
10 - In a large bowl, combine powdered sugar and meringue powder. Add 4 tablespoons warm water.
11 - Beat with an electric mixer on low speed, then high speed, until stiff peaks form, approximately 4 to 5 minutes.
12 - Adjust consistency with additional water, a few drops at a time, for flooding or piping as desired.
13 - Divide icing into bowls and tint with gel food coloring if desired.
14 - Decorate cooled cookies with the royal icing. Allow to set completely before stacking or serving.