Police have evacuated the area outside Victoria's Parliament House after a man drove a white station wagon to the front steps and tried to set himself on fire.

The man was arrested shortly after when officers smashed the car windows and dragged him onto the road.

A petrol can was lying on the pavement next to the car.

Witnesses said a person came running out of Parliament House with a fire extinguisher but it is not clear if it was used.