San Francisco's public schools have been offered a classroom lesson plan that calls President-elect Donald Trump a racist, sexist man who became president 'by pandering to a huge racist and sexist base'.

The union that represents city teachers posted the plan on its website and distributed it via an email newsletter to its more than 6,000 members.

The school district has more than 57,000 students.

It is unclear how many teachers have used the plan outlined by a Mission High School teacher, but it appears to have the tacit support of city education officials.

Scroll down for video

San Francisco's public schools have been offered a classroom lesson plan that calls President-elect Donald Trump a racist, sexist man who became president 'by pandering to a huge racist and sexist base'

The lesson plan was written by social studies teacher Fakhra Shah (pictured), who said she hadn't planned for it to spread citywide — that was a step taken by the teacher's union

School district spokeswoman Gentle Blythe said the plan is optional and not part of the official curriculum.

'Educators are entrusted to create lessons that reflect the California standards, support students' social and emotional well-being and foster inclusive and safe school communities,' she said in a statement that neither praised nor rebuked the lesson plan.

San Francisco schools serve diverse populations and teachers are encouraged to include multiple perspectives in lessons, she said.

The Republican Party in San Francisco reacted sharply.

'It's inappropriate on every level,' said Harmeet Dhillon, an RNC committeewoman from California.

She called it 'inappropriate propaganda that unfairly demonizes not only the campaign that Donald Trump, the winner, ran, but also all of the people who voted for him'.

Dhillon told CBS San Francisco: 'It's boiling down the election in which 60million people voted for this man to become president into two words: racism and sexism.

'That's very misleading. It's just like propaganda. It's garbage.'

The union that represents city teachers posted the plan on its website and distributed it via an email newsletter to its more than 6,000 members

It is unclear how many teachers have used the plan outlined by a Mission High School teacher, but it appears to have the tacit support of city education officials

The lesson plan was written by social studies teacher Fakhra Shah, who said she hadn't planned for it to spread citywide — that was a step taken by the teacher's union.

She wrote it at 2am November 9, just hours after results came in, to help teachers at her school struggling with how to answer students' questions and concerns about Trump becoming president.

It says: 'Let us please not sidestep the fact that a racist and sexist man has become the president of our country by pandering to a huge racist and sexist base.'

Shah told CBS San Francisco: 'In the very same way, I would criticize Clinton.

'In the very same way, I would criticize Obama. The record number of deportations. Hillary Clinton, she has been called a war hawk.'

Pictured is the resources section of the lesson plan written by Shah

The union that represents teachers, the United Educators of San Francisco, defended the plan

'I think a lot of people were lost for words, wondering, "What do we say? What do we do?"' said Shah, whose Latino, African American, white, Muslim and LGBTQ students are worried about a surge in hate crimes since the election.

'We're calling him out,' she said. 'If he's our president, I have the right to hold him accountable and ask him to take a stance that is anti-hate and anti-racist.'

The plan encourages teachers to let students express their concerns and to offer them hope and tell students that they can keep fighting.

'We can uplift ourselves (and) fight oppression here at school even if we cannot control the rest of the country,' she said.

The lesson plan said: 'Tell them: We do not have to go anywhere, not Canada, not "back" to any place we came from. We also do not have to give in to brutality, police or otherwise, verbal or physical. Ever.'

San Francisco is diverse, with many students whose families are in the country illegally and who are worried by Trump's calls for deportation.

High school students carry signs as they march in opposition of Donald Trump's presidential election victory on November 10. The union representing San Francisco's public school teachers is circulating a classroom lesson plan that calls President-elect Donald Trump a racist and sexist man

Shah warned teachers that some students may use inappropriate words to express their fear and anger.

'I know that they might curse and swear, but you would too if you have suffered under the constructs of white supremacy or experienced sexism, or any isms or lack of privilege,' she wrote.

About 2,000 San Francisco students walked out of class last week to protest the new president.

On Monday, Mayor Ed Lee declared that San Francisco would continue to provide sanctuary for all immigrants, religious minorities and gays and lesbians.

Shah told CBS San Francisco regarding students: 'If they're for Trump, they're welcome in my class to say why they're for Trump.'

Shah said the students 'will absolutely be given safe space. You know, they'll be asked to explain how is he not racist.'

The union that represents teachers, the United Educators of San Francisco, defended the plan.

Union President Lita Blanc said that even House Speaker Paul Ryan had called Trump's campaign racist and sexist.

'There is a time and a place for using words that match action,' Blanc said.

She praised the plan's advice for students — 'to stand up and defend themselves, and speak out for themselves and make a difference'.