A card holder for an electronic card, by comprising: a card tray (110, 210), a card lock (120, 220) and a card tray eject mechanism (130, 230), the card lock (120, 220) comprising a card fastener and a control button, and the card tray eject mechanism (130, 230) comprising a leaf spring in a card seat; the card holder being configured so that: when the card lock (120, 220) controls the card fastener to be away from the card tray (110, 210) by means of the control button, the leaf spring in the card seat recovers from a compressed state to a normal state, and the card tray (110, 210) is ejected outward from a first opening extending along a housing of the card lock (120, 220); when the card tray (110, 210) moves inward from the first opening extending along the housing of the card lock (120, 220), the leaf spring in the card seat is compressed from the normal state to the compressed state, such that the card fastener and the card tray (110, 210) are in a locked state; the card holder being characterised in that the card tray eject mechanism (130, 230) comprises a first body, an open triangle groove extending along the first body being formed in the first body, a triangle leaf spring in a card seat being formed in the open triangle groove, a part of a first sloping side of the leaf spring in the card seat being bent inward to form a second sloping side, the first sloping side forming an acute angle with the second sloping side, a part of a third sloping side of the leaf spring in the card seat being bent inward to form a fourth sloping side, and the third sloping side forming an acute angle with the fourth sloping side; wherein an upper surface, a lower surface, a left surface, and a right surface of the first body respectively extend toward a direction reverse to the compression direction of the leaf spring in the card seat for a predetermined length, the predetermined length being less than or equal to a length of the card tray (110, 210). when the card lock (120, 220) controls the card fastener to be away from the card tray (110, 210) by means of the control button, the leaf spring in the card seat recovers from a compressed state to a normal state, and the card tray (110, 210) is ejected outward from a first opening extending along a housing of the card lock (120, 220); when the card tray (110, 210) moves inward from the first opening extending along the housing of the card lock (120, 220), the leaf spring in the card seat is compressed from the normal state to the compressed state, such that the card fastener and the card tray (110, 210) are in a locked state; the card holder being characterised in that the card tray eject mechanism (130, 230) comprises a first body, an open triangle groove extending along the first body being formed in the first body, a triangle leaf spring in a card seat being formed in the open triangle groove, a part of a first sloping side of the leaf spring in the card seat being bent inward to form a second sloping side, the first sloping side forming an acute angle with the second sloping side, a part of a third sloping side of the leaf spring in the card seat being bent inward to form a fourth sloping side, and the third sloping side forming an acute angle with the fourth sloping side; wherein an upper surface, a lower surface, a left surface, and a right surface of the first body respectively extend toward a direction reverse to the compression direction of the leaf spring in the card seat for a predetermined length, the predetermined length being less than or equal to a length of the card tray (110, 210).