Text this: Fabrication and integration of nanostructured optical devices