How to show dimension Arrow with our object

How to show both ends Arrow for dimension with our object for showing object width and height. using three with react js.

Something like on the gif here: Units in Three.js ?

1 Like

please give me some code example. I am using three js in react, I am using RayysLinearDimension and ArrowHelper but My Arrow not render properly please see image attached.