An electronic component is provided that includes a spatial light modulator device, and a circuit board comprising a first major surface, at least one electrically conductive redistribution layer and a first cavity positioned in the first major surface. The spatial light modulator device is positioned within the cavity and is electrically connected to the redistribution layer.