A single lightweight, compact element can provide functionality such as beam shaping, beam splitting, beam homogenisation or pattern generation and the applications are wide reaching (e.g. array generation, metrology, interconnects, lens correction).