Reversible light-responsive hydrogel valves with response characteristics compatible for microfluidics have been obtained by optimization of molecular design of spiropyran photoswitches and gel ...