Can I use the React UI library to build my user interface?

As stated in the title。
For example,ant.design

I suppose you can (try), just keep in mind that not everything might work. The UI features are very limited on UXP. Like CSS properties or events handling.

Read the introduction to this part of the document before deciding whether to use them, this mentions what can be used and what cannot.

https://www.adobe.io/photoshop/uxp/2022/uxp/reference-css/