Herein disclosed an electronic component having a passivation layer in
which an opening that exposes a part of a pad electrode is formed, an
underlying metal layer formed on the pad electrode and the passivation
layer, and a barrier metal layer formed on the underlying metal layer for
an external connection electrode, the electronic component including a
recess or/and a projection configured to be provided under the barrier
metal layer outside or/and inside the opening, the underlying metal layer
being formed on the recess or/and the projection and having a surface
shape that follows the recess or/and the projection.