I slapped my boyfriend and am the worst person in the world

The other night my boyfriend and I were at my house. I was exhausted bc I hadn't gotten much sleep this week and I also was on my period and had been acting a little off/delusional all night. He was about to leave bc it was past curfew, and I started taking pictures of him because I love taking pictures of him. He got insecure and grabbed my phone before I even got a chance to look at them and started trying to delete them. We were hardcore kind of wrestling because I wanted my phone back to see them and he wanted to delete them. He was just about to delete one and I panicked and slapped him lightly on the face... except it was a little harder than I meant to. I only meant to barely touch him to get his attention but it ended up harder than I ever wanted. I was shocked with myself I never want anything bad to come to him I love him so much, but I was trying to distract him so that I could get a chance to look at the pictures at least once before they were gone forever. He says it's not a big deal and that he loves me and forgives me but I can't help but hate myself. I don't know if I'll ever be able to forgive myself. Everything thing I've looked up on line calls me a domestic abuser, and says I should leave him for his sake. I don't want that at all. I'm in love with this boy I just don't know what came over me. It's been two days and he's acting like normal in our relationship but I feel like the worst person on earth. He deserves better than me.