An auditory prosthesis includes an implanted component and an external component. The grating antenna can be attached to a grayscale slider to obtain a distance between the illumination spot and antenna that lies in the near field region. They can be modified by crosslinking, ring-opening, andor other functionalization, if desired, to form gelling materials of superior performance.