A holder for objects, including a bracket and a holder element supported by the bracket, where the holder element includes a resilient gripping section and two stiff pivoting arms, where the pivoting arms are pivotably suspended to the bracket, where the holder element includes a receiving position and a holding position in which the object is held by the holder element, such that the gripping section is positioned within the bracket. The advantage of the holder is that objects of different sizes can be held in a secure way.