A guide path for electronic components has guide elements by means of which the components are guided obliquely with respect to the direction of the light beams at least in the area of a light barrier, such that the component produces a shadow area which is higher than the side end surface of the component.