The visor of a cap or hat is a stiff, protruding brim located at the front, designed primarily to shield the eyes from sunlight. It enhances the cap's functionality by providing shade and reducing glare, making it ideal for outdoor activities. The visor also contributes to the cap's overall aesthetic, offering a sporty and casual look. Its design can be customized in terms of shape, size, and material to suit specific preferences and branding needs.