Abstract
A photoswitchable, transparent, and highly conducting device that functions via nanophotonic interaction of a metal film coated with spirophenanthrooxazine (SPO) molecules embedded in a polymeric matrix and fabricated through spin coating is demonstrated. The device possesses additional novel functionality as a photobleaching gas sensor.