The Star Wars universe has the benefit of being able to mesh with several different subgenres, as Disney+'s The Mandalorian and the theatrical Rogue One prove. However, the horror genre is something the franchise has seemingly untapped potential in, and several books -- mainly from the Legends continuity -- show how well this could be done.
Source:https://www.cbr.com/star-wars-horror-books-movies/