Workers in New York City have described scrambling out of office blocks, as panic engulfed part of downtown Manhattan when a gunman opened fire and killed four people on Monday.

People poured out of skyscrapers and onto the busy streets of the US city, some with their hands in the air, while others sheltered in buildings nearby.

The violence unfolded in the early evening inside the 44-storey building at 345 Park Ave, home to the National Football League (NFL) office, as well as financial giants Blackstone and KPMG.

Nekeisha Lewis said she was eating dinner with friends on the plaza when she heard gunfire.

"I looked up and I saw the first wall of the first floor shatter," she told NBC News.