Examples herein relate to a hinge. In some examples, a hinge can include a first bracket connected to a shaft, a second bracket connected to the first bracket, a member connected to the shaft and magnetically attracted to a magnet at a first position, where the member translates relative to the magnet to a second position as the shaft rotates about an axis of the shaft, and the magnet to generate a magnetic attraction force between the member and the magnet, where the magnetic attraction force is higher at the second position than the first position.