I used 8mm x 3mm neodymium magnets, in tandem yellow PLA+. Standard print settings. Cut a section of fabric to fit into the pocket of the top piece, and then press the bottom piece into the top piece to seal the fabric inside. It is reversible with a thin flathead screwdriver (typically used for electronics).
The author marked this model as their own original creation.