Hello everyone!
Here is my go on magnetic shifter.
It contains 10 6x2 mini magnets and a slab in the middle to allow the magnets to jump and do a satisfying click noice.
There is no glue needed the parts have columns to snap together but you might make them a little bigger depending on your printer tolerances.