The levator palpebrae superioris is a triangular-shaped muscle located in each upper eyelid. The primary function is elevation and retraction of the upper eyelid.