Patent attributes
An electronic device with component detaching function includes a casing, a cover and an electronic component. An opening is formed on the casing. The cover is adapted to shelter the opening. The cover is movably disposed on the casing close to the opening, and can move relative to the casing to be switched between a first position and a second portion. The cover includes a first connecting portion. The electronic component including a second connecting portion is detachably disposed on the opening. The second connecting portion is detachably assembled with the first connecting portion. When the electronic component is separated from the casing, the electronic component utilizes an assembly of the first connecting portion and the second connecting portion to slide the cover relative to the casing, and the cover moves from the first position to the second portion.