I used these bois for a similar project. https://www.amazon.com/Deryun-Refrigerators-Magnets-Fridge-Whiteboard/dp/B0782VHLN8/ref=sr_1_3?dchild=1&keywords=magnets&qid=1616688068&sr=8-3
could use neodymium if you need lateral sheer strength.