If the vector is v=xi+yj+zk=<x,y,z>.
The unit vector is <1/√3,-1/√3,1/√3>=i/√3-j/√3+k/√3.
|v|=√(x2+y2+z2)=2√3 is the magnitude of v.
The unit vector is given by v/|v|=(xi+yj+zk)/(2√3).
Therefore x/(2√3)=1/√3, x=2; y/(2√3)=-1/√3, y=-2; z/(2√3)=1/√3, z=2.
So the components of the vector are x=2, y=-2, z=2.