2-20 Pcs Very Strong Magnetic Catch Latch Ultra Thin For Door Cabinet Cupboard

Perfect for keeping bookcase and cabinet doors closed. Shut the door, and the self-adhesive will hold part 2 in the correct location, allowing you to fix it permanently with screws. Alternatively, screw part 1 in place, then attach part 2 by magnet with the self-adhesive backing.

eBay