Technically, it is a mix of both. The infected humans are referred to as "Darkseekers". They exhibit classic vampire traits—they are deathly afraid of sunlight, burn when exposed to UV rays, and are nocturnal—but behave much like feral, aggressive zombies.
Here is that article:
"I Am Legend" was directed by Francis Lawrence and produced by Joel Silver and Lawrence Mark. The film is an adaptation of Richard Matheson's 1954 novel of the same name. The screenplay was written by Mark Protosevich, Akiva Goldsman, and John Malkovich. The movie stars Will Smith, who plays the role of Robert Neville, a survivor of the deadly virus that has wiped out most of humanity. I Am Legend -2007- Hindi Dubbed 108...
Released in 2007, I Am Legend is a sci-fi thriller based on Richard Matheson’s 1954 novel of the same name. Directed by Francis Lawrence, the film follows Robert Neville (Will Smith), a scientist who appears to be the last human in New York City—and possibly the world—after a viral outbreak turns humanity into nocturnal, flesh-eating creatures known as "Darkseekers." Sci-Fi, Thriller, Drama, Horror Starring: Will Smith, Alice Braga, Charlie Tahan Director: Francis Lawrence Run Time: 101 Minutes Technically, it is a mix of both