Iron oxide-doped photonic crystals are a simple means to wrap fluid droplets and control their movement. But they are also clever because they can be 'bar-coded' and have in-built sensing capabilities, which makes them exceptional candidates for microfluidic devices.