Jessica Durando

USA TODAY

Safety pins have become a symbol of solidarity with refugees and other migrants since the historic Brexit vote to leave the European Union in June.

Now, people in the United States are showing that they are allies with groups — including LGBT, minorities and women — who say they feel threatened by Donald Trump's election .

Twitter user @cheeahs launched the idea, according to New York magazine, with the notion "that anyone against the sort of nationalistic, racist violence we’ve been seeing could identify themselves as a ‘safe ally.’”

Trump rode to victory with a "Make America Great Again" message that included a vow to build a wall along the border with Mexico — and make Mexicans pay for it — and deport millions of undocumented immigrants.

Both votes — Brexit and the U.S. election — were marked by emotional campaigns that saw tensions and divisions running high among warring sides. In the U.K., anger about immigration helped propel the "leave" campaign to victory amid a tide of nativism.

Parallels run strong with shocking Trump U.S. victory and Brexit