An optical component comprising an optical waveguide and adjacent to it at least
one grating array adapted to reflect stray light away from said optical waveguide.
The use of a grating array with a plurality of structures like polygons or stripes
gives the possibility to define a multiple of reflection directions. This is obtained
by using polygons layed out in different orientations up to a random one or a Bragg
grating preferably defined with a non-uniform period (chirped). Such grating arrays
are usually structured within the same layer as the optical waveguide core layer.