Step format rendering

since three js don’t have .step loader. Is there any library available to convert step file to gltf in react js???

AFAIC, it’s not possible to perform this conversion in JavaScript so far. However, there are existing CLI tools like cqparts that can convert from STEP to glTF:

It seems you have to wrap such a tool in a REST service and then use it in your React app.