Highly effective and reversible control of the rocking rates of rotaxanes by changes to the size of stimulus-responsive ring components.