Two vectors are equal if and only if
Vector
Equal vector
Diagram of equal vectors:
In the shown figure vector and are the same magnitude and direction. Thus, the both vectors are equal.
Hence, two vectors are equal if and only if they have the same magnitude as well as direction.