I designed a simple door stop for IKEA Lack enclosures. It uses Ø5mm, 1.7mm thick magnets, but it can be modified to use other sizes.
On the doors I glued the same magnets for extra strength.
For best result you can mount one at the top and one at the bottom.
Screws used: 3.5x20/Pz2
The author marked this model as their own original creation.