A vehicle headlight comprising - at least one light source, - at least one projection optical system, - an electronic component with an active optical surface on a front face and an active thermal surface and electrical contacts on a rear face remote from the front face, wherein the light source is designed to generate a light beam which is oriented toward the active optical surface and is reflected there in the direction of the at least one projection optical system and forms a light pattern in front of the vehicle when the vehicle headlight is installed in a vehicle, characterised in that a component housing (110, 210), which is formed from a housing shell (120, 220) and a housing cover (150, 250), a first printed circuit board (130, 230) and at least one first spacer (160, 260) are also contained and the component housing (110, 210) at least partially receives the electronic component, wherein: - the housing shell (120, 220) comprises a mounting position for the electronic component and a component opening (121, 221) which is located in the region of the mounting position, the electronic component being arranged therein and access being possible through said component opening to the active optical surface of the electronic component, - the electronic component is able to be connected via the electrical contacts thereof to the first printed circuit board (130, 230), - the housing shell (120, 220) is able to be closed by the housing cover (150, 250), - the at least one first spacer (160, 260) is arranged between an assigned bearing point (161, 262) and the housing cover (150, 250), wherein the bearing point (161, 262) is located on the first printed circuit board (130, 230) or on a heat sink, which is arranged on the first printed circuit board (130, 230) and on the active thermal surface of the electronic component, wherein at least one connecting element (170, 270) is provided for producing a connection between the housing cover (150, 250) and the housing shell (120, 220), said connecting element preferably being able to be inserted along an axis which is arranged so as to run transversely to the first printed circuit board (130, 230). - at least one light source, - at least one projection optical system, - an electronic component with an active optical surface on a front face and an active thermal surface and electrical contacts on a rear face remote from the front face, - the housing shell (120, 220) comprises a mounting position for the electronic component and a component opening (121, 221) which is located in the region of the mounting position, the electronic component being arranged therein and access being possible through said component opening to the active optical surface of the electronic component, - the electronic component is able to be connected via the electrical contacts thereof to the first printed circuit board (130, 230), - the housing shell (120, 220) is able to be closed by the housing cover (150, 250), - the at least one first spacer (160, 260) is arranged between an assigned bearing point (161, 262) and the housing cover (150, 250), wherein the bearing point (161, 262) is located on the first printed circuit board (130, 230) or on a heat sink, which is arranged on the first printed circuit board (130, 230) and on the active thermal surface of the electronic component,