She might be heartbroken at first. Hermione is someone who invests deeply in her relationships. She would likely retreat into her studies as a way to cope, burying herself in books to try and forget the pain.
Maybe it's because of their different outlooks on life in the wizarding world. Hermione is very much about following the rules and using magic for good and knowledge, while Draco has been more influenced by the power - hungry and sometimes underhanded ways of his family. This could lead to constant arguments and ultimately a break - up.
At first, Draco might be in shock. He didn't expect Harry to break up with him at such a crucial time. Then he could try to reason with Harry, begging him to stay for the sake of their unborn child. When Harry refuses, Draco could turn to his own family for support and close himself off from the outside world for a while.
One possible reason could be their different career paths. Harry might be more focused on Auror work which is dangerous, and Hermione, being the practical person she is, may not want to live in constant fear for his safety. Another reason could be a growing apart in their values. Maybe as they get older, Hermione realizes that Harry has a more impulsive nature when it comes to making decisions regarding the wizarding world's politics, while she prefers a more calculated approach.
There's also 'Fractured Bonds' which is quite interesting. In this fanfiction, the break - up is caused by a misunderstanding that gets blown out of proportion. It shows how pride and miscommunication can lead to the end of a relationship. Hermione is heartbroken and Harry realizes his mistake too late. It's a really engaging read if you like exploring complex relationship dynamics.
In the fanfiction, perhaps there are trust issues. Ron has a bit of a jealous streak. If he wrongly accuses Hermione of being too friendly with other male characters, like Harry or some new acquaintance, it could create a rift. This constant suspicion would wear Hermione down, and she might decide she's had enough.
There could also be a chance for reconciliation in the future. Maybe they both realize that they made mistakes during the break - up. Draco could change his ways a bit more and Harry could be more understanding. Fanfiction often has these kinds of arcs where characters get a second chance at their relationship after some growth and learning.
Hermione might initially be furious. She is a strong - willed character, so being tied up against her will would surely make her angry. She would probably start using her wits right away, trying to figure out a way to free herself, whether it's through magic or by tricking Draco.
Some in the wizarding community might be shocked. Harry is a hero, and they expected him and Hermione to be together forever. There could be a lot of gossip and speculation. People might take sides, with some blaming Hermione for breaking Harry's heart.
In some Dramione fanfictions, Ron might break up with Hermione because he feels overshadowed by her intelligence. He could be tired of always being in her shadow and decides to end the relationship. This then paves the way for a potential Dramione relationship as Hermione and Draco start to interact more.