You don't need to hide it, but you also don't need to make it the main event. On applications, just fill in the dates honestly - if there's a gap field, note it briefly ('Personal leave' or 'Career break') without oversharing. Keep it factual and neutral. Most hiring managers expect people to have gaps; it's honestly pretty common these days and rarely the dealbreaker you think it'll be.
Save the fuller explanation for interviews, where you can give actual context. Eight months isn't even that long, and you can frame it simply: "I took time to handle some personal matters that needed my attention" or "I needed a break to focus on some things in my life, but I'm ready to get back to work now." Then pivot to what you're looking for going forward. Interviewers care way more about whether you're engaged and reliable going *forward* than dwelling on why you stepped back. Don't over-apologize or over-explain - that makes it weirder than it is.
If you want to address it proactively in a cover letter, keep it to one sentence max. Something like "I took some time away in 2024 to handle personal matters, and I'm now looking to dive back in and bring my full energy to the right role." Then move on to why you're actually interested in *that job*. The cover letter should be about them and the position, not about you explaining yourself 🙂