In one embodiment, a method includes forming an array of recesses in a
substrate, depositing spacer material in the recesses, forming photonic
elements on the spacer material, and separating the structure previously
formed into individual dies that each include a photonic element, spacer
material and substrate.