Hermione would likely be devastated. She might go into a deep state of mourning, but also use her intelligence to try and figure out what led to Harry's death. Ron would be angry and heartbroken at the same time. He'd probably want to seek revenge if there was someone or something responsible.
The other characters' reactions could vary widely. His close friends in the fanfic might be in a state of panic, crying and not knowing what to do. Enemies, on the other hand, might see it as an opportunity to take advantage, or they could also be secretly worried depending on the complexity of their relationships. And there could be those characters who are just bystanders, shocked at first and then trying to figure out what happened.
Kakashi would likely be amused by the whole situation. He might give Naruto some tips on how to blend in better as a girl, using his own knowledge of disguise techniques. Iruka would be more concerned about the reasons behind Naruto dressing as a girl and would make sure Naruto is comfortable with it. He would also be there to support Naruto if any of the other villagers had a negative reaction.
Harry would be extremely shocked. He has always seen Snape as a complex figure, and Hermione capturing him would make him question a lot of things. He would likely try to get to the bottom of it and mediate between Hermione and Snape if possible.
Well, Anna would be frantic. She'd immediately set out to find Elsa, not caring about the danger. She might even team up with the Guardians without hesitation. Kristoff would be right by Anna's side, using his survival skills to try and track down Pitch's location. Olaf, being the innocent and loving character he is, would be heartbroken. He might try to cheer Elsa up from afar by singing or reminiscing about their good times, hoping it reached her somehow. The trolls, if they found out, would offer their wisdom and perhaps some magical aid to help in the rescue of Elsa from Pitch's clutches.
Luka, being her brother, would be super protective. He would constantly check on her, hold her hair if she needs to vomit, and try his best to comfort her. He might also sing a soft song to soothe her nerves, as music has a calming effect in the Miraculous Ladybug universe.
Akane would likely be very confused and worried. She might initially think Ranma is playing a trick on her, but as she realizes it's real amnesia, she would try to help him remember things. She could become extra protective of him. Genma, on the other hand, would probably be frustrated. He'd be worried about how this will affect Ranma's martial arts progress and his ability to uphold the family honor.
Sasuke would likely be conflicted. On one hand, he and Naruto have a deep bond, but on the other, Sasuke has his own ideas about justice. He might try to stop Naruto at first, reasoning with him. If that fails, he could be forced to choose a side, either to support Naruto's cause if he believes there's some merit to it, or oppose him to protect the shinobi world as he knows it.
Harry would be extremely worried. He'd probably rush to her side immediately and try to do whatever he can to help. He might blame himself for not being there to protect her. Ron, on the other hand, would be in a state of shock at first and then would try to use his humor to lighten the situation a bit while still being very concerned. Hagrid would be devastated. He sees Hermione as one of his students he cares about, and he'd likely bring some sort of magical creature - related remedy, thinking it could help.
Well, the other students in Gryffindor would likely be a bit taken aback at first. But then, knowing Hermione's intelligence and her tendency to be different, they would probably accept it. They might be curious about how she's going to manage to keep up the charade. The Hufflepuffs would be generally kind and understanding, perhaps even offering to help her if she needs it. The Ravenclaws would be intrigued by the idea and might study her transformation from a more academic perspective. The Slytherins, as a whole, would be more likely to try and use her disguise against her, either by blackmailing her or trying to expose her in a way that would cause her and her friends embarrassment.