Remove the butter from the refrigerator and allow it to soften at room temperature. It should be soft enough to mix easily but not melted. Place it in a large mixing bowl.
Beat the softened butter with an electric mixer until smooth and creamy. Scrape down the sides of the bowl to ensure the butter is evenly mixed.
Add the peppermint extract and optional salt. Mix thoroughly so the mint flavor is distributed evenly throughout the butter.
Add the powdered sugar one cup at a time, mixing on low speed after each addition. The mixture will gradually become thicker and form a soft dough.
Add the heavy cream or milk a teaspoon at a time until the mixture becomes smooth, pliable, and easy to shape. If the dough feels sticky, incorporate a little more powdered sugar. If it feels too dry or crumbly, add a few drops of cream.
Divide the dough into separate portions if you want multiple colors. Add a tiny amount of gel food coloring to each portion and knead until the color is evenly distributed. Leave one portion white for a classic appearance.
Lightly dust a clean work surface with powdered sugar. Roll each portion into a thin rope, approximately ½ inch thick. Use a sharp knife or dough scraper to cut the ropes into small, bite-sized pieces. Alternatively, roll the dough into tiny balls or press it into silicone candy molds.
Arrange the mints in a single layer on a parchment-lined tray, leaving a little space between them. Allow them to air-dry in a cool, dry place for 12–24 hours, turning them if necessary. Drying time depends on the size of the mints and the humidity.
Once the mints feel dry on the outside and hold their shape, transfer them carefully to an airtight container. Serve them in candy dishes or package them in small bags or gift boxes for special occasions.