Harry Styles primarily performed as a vocalist in One Direction. He occasionally played the guitar during live performances.