In a large bowl or in the bowl of a stand mixer fitted with the paddle attachment, beat the softened butter and granulated sugar together for 1 to 2 minutes until smooth and well combined.
1 cup unsalted butter, ⅔ cup granulated sugar
Mix in the egg yolks, vanilla extract, and salt until fully incorporated.
2 large egg yolks, 1 teaspoon pure vanilla extract, ¼ teaspoon salt
Gradually mix in the all-purpose flour until the dough comes together. It may look crumbly at first—keep mixing until it forms a smooth dough.
2⅓ cups all-purpose flour
Scoop about 1 tablespoon of dough per cookie and roll each portion into a smooth ball. For a touch of sparkle, roll the dough balls in granulated sugar.
Use your thumb or the end of a wooden spoon to make a small indentation in the center of each cookie. Spoon about ½ teaspoon of strawberry or apricot jam into each indentation.
½ cup strawberry or apricot jam
Line the air fryer basket with parchment paper. Place the prepared cookie dough balls in the basket, leaving enough space between each for air circulation.
Air fry at 320°F (160°C) for 7 to 9 minutes, or until the cookies are lightly golden around the edges.
Let the cookies cool in the basket for 5 minutes before transferring them to a wire rack to cool completely.