The Magnetic hinge in Spectunes smart glasses works by using magnets and a hinge mechanism to securely snap the front frame and side temple together. This design allows for easy detachment and attachment of the frames, providing convenience and durability. Additionally, a snap mechanism ensures a reliable connection, enhancing the user experience with seamless functionality.