an electronic component has a body ; a metal film formed on the body ; and a tin alloy plating film formed on the metal film . the tin alloy plating film contains sn and at least one additive metal selected from the group consisting of bi , ni , ag , zn and co .