All the coral 2 components are located :- /libs/granite/ui/components/foundation/...
And Coral 3 :- /libs/granite/ui/components/coral/foundation/..
Note:- Generally, features that are planned to be removed in a future release are set to deprecated first, with an alternative provided. So you can still use them even though they are deprecated. And Adobe, do not encourages their use. Coral ui 2 is absolutely not recommend and now Coral 3 pathbrowser is also deprecated.