SOLVED: 'TO BE A CAT' BY MATT HAIG
There was a fiction book I read a few years ago that was about a girl with black hair who's in school, and the world it's set in low fantasy/most people don't know about the existence of magic or anything.
She gets turned into a black cat at the start (I don't remember how but I think she woke up that way? Idk fs) and at the end she finds out her school's headmistress/some other teacher (I don't remember exactly) turned her into the cat either on purpose or she was trying to turn someone else and hit her accidentally (don't remember that either).
It was illustrated, the illustrations were really pretty (sort of tim burton/chris riddell type of artstyle). The cover also had a large black cat on it that I think was supposed to be that girl (at least the one I read, I'm not sure if there's multiple editions with different covers too)
Also near the end when she finds out the headmistress/teacher was behind it she's in her office or something and there she sees that she has a penholder on her desk that's actually a cat's skull and she finds out that it came from the head of a teacher/student/someone who the headmistress previously also turned and then killed.
Also there is one scene somewhere in the middle where she's either in her own home or in her friend's home (when she's still a cat and trying to figure out what happened) and the home is actually a boat. That the family genuinely lives on. (Goals tbh I'd love to live on a boat)
Can someone PLEASE help I really liked that book and I've been losing my mind trying to figure out what it was called.