This is a remix of the linked file. I just cut down a few dimensions to make it lower profile and less likely to pop off in my bag. Uses 6mm*2mm magnets that are press fit in the part.
Print solid and double up on the magnets to get them to 4mm height.
The author remixed this model.
This model is lower profile than the original.