Canadian Prime Minister Mark Carney has attended a vigil in Tumbler Ridge, British Columbia, where hundreds gathered to mourn the eight victims killed in a mass shooting there this week.

Carney visited the small town on Friday, along with other federal leaders across the political aisle, as well as Canada's Governor-General Mary Simon, in a show of national unity.

"Canadians are with you, we will always be with you," Carney told the crowd in a speech that paid tribute to the victims, which included six young school children.

Residents in the town are still reeling from the attack, with some visibly in tears and comforting one another as Carney and other leaders addressed their grief.

Many refused to speak to the media on Friday, noting that the presence of journalists in their otherwise quiet town in the foothills of the Rocky Mountains has been overwhelming.