Star Wars is, in fact, classed as science fantasy or space fantasy. Although there are advanced technologies that would fall under science fiction, the nature of the Force is very much magical.