Baseball caps are made by cutting and sewing pieces of fabric together. The panels and pieces for the peak of the cap are cut using a dye. They are then sewn together, along with the other elements of the hat, the cardboard or plastic peak, back closure, and often eyelets.