Patent ID: 8619433

Claim:
A portable electronic device, comprising: a casing having an opening, the casing including: a base slidably disposed in the casing, having an upper surface and a lower surface opposed to the upper surface; and an electronic component disposed on the upper surface of the base; a rotating part; a pivot unit pivotally connected to the casing and the rotating part; and a magnet set, including: a first magnet and a second magnet disposed at the lower surface of the base, wherein the magnetism of the first magnet is different from the magnetism of the second magnet; a third magnet disposed at the other one of the base and the rotating part, wherein the magnetism of the third magnet is the same as one of the magnetism of the first magnet and the magnetism of the second magnet, wherein when the rotating part is rotated relative to the casing, the magnet set generates magnetic attraction or magnetic repulsion to lead the electronic component into the casing or out of the casing.