My 2y10m old did this.
It got better.
We used gentle technics like:
Helping him recognise his feelings (books about feelings, saying oh you're sad / angry / scared, etc.), most of the time saying "oh you look very angry at me for saying no to this, it's ok, you're allowed to be angry" stops him within 10 seconds.
Helping him find ways of coping with the emotional thunderstorm like stumping his foot, going to his bedroom, crumpling a piece of paper, looking at a glitter wand
Writing the rules and rights and talking about it often.
Recognising when he does great things like sharing, walking calmly, generally being cooperative
Making sure his basic needs are met, i.e. is he tired, hungry, cold, does he need a cuddle, does he need to release some tension (we have tickle party when things start to get heated, it helps), etc.
Giving him a way out when things are getting bad, like a 2 options choice (red hat or blue hat), or saying things like "do you think you can play calmly with your brother or you need to take your game to your room?"
Saying things like hold it, use your words not your hands, your behaviour is not acceptable, etc.
It's just a few exemple to get your thinking going, trying to find why she's acting this way (is anything, even trivial, changing for her?) would help too