An electronic package includes a leadframe, a plurality of pins, a gallium-nitride transistor, and a GaN diode. The housing has a recess which at least partially accommodates the hinge element, the at least one spring element, and the blocking body. The support frame supports the pan under the cover.