The CEO of Twitter urged President Trump — who offered his “thoughts and prayers” over the shooting at YouTube’s campus — to stop “being reactive” to gun violence.

“We can’t keep being reactive to this, thinking and praying it won’t happen again at our schools, jobs, or our community spots. It’s beyond time to evolve our policies,” Jack Dorsey tweeted to Trump on Tuesday evening.

“This is a simple and reasonable approach, and it won’t solve all, but it’s a good start,” Dorsey added, linking to five policy proposals to curb gun violence from the March For Our Lives website.

The proposals are to fund gun-violence research; eliminate “absurd” restrictions on the Bureau of Alcohol, Tobacco, Firearms and Explosives; impose universal background checks; ban high-capacity magazines, and limit firing power on the streets.

“Was just briefed on the shooting at YouTube’s HQ in San Bruno, California,” Trump tweeted Tuesday.

“Our thoughts and prayers are with everybody involved. Thank you to our phenomenal Law Enforcement Officers and First Responders that are currently on the scene,” he wrote.

The repeated use of “thoughts and prayers” by political leaders in reaction to mass shootings has sparked a grassroots movement of critics who say pols aren’t doing enough to stem the tide of gun violence.

The March For Our Lives movement is led by student survivors of the shooting that killed 17 people at a high school in Parkland, Fla., in February.

In Tuesday’s incident at YouTube’s headquarters near San Francisco, Nasim Aghdam, 38, shot three people before taking her own life, officials said.

Authorities are still investigating what prompted her attack, but preliminary reports indicate she “hated” the company because it had been censoring her content and stopped paying her.