To rotate a component 90 degrees, press either the counter-clockwise or the rotary component button. You can also use the keyboard to do so.