However, if you are planning to use Photoshop for user interface design, I recommend using a vector tool like Sketch (Mac only) or Affinity Designer (Mac and Windows). Laying out interface elements is much easier in these apps than in Photoshop. Both Sketch and Affinity Designer have features that target UI design.
Although Photoshop has some vector tools, it's strength is in photo editing and digital painting, plus it has a sprawling, clunky interface that is harder to learn than the aforementioned vector tools.
Illustrator is subscription-based too, unlike Sketch and Affinity Designer. For example, purchasing Sketch gets you one year of updates, but if you don't upgrade or renew after a year you can keep using the version of the app you downloaded. This is different from Adobe's subscription model where the moment you stop paying your monthly or yearly subscription fee, the app stops working.
If you are wire framing, then being vector really has nothing especially to do with it, it’s just that this is the default for block and drop style apps. In that way, PowerPoint is vector also, but no one talks about refining Bézier curves with it.
Sketch and Affinity Designer are perfectly capable of exporting production vector assets - Sketch can even export CSS attributes. Sketch in particular has a thriving eco-system of plugins.
An online search quickly reveals a plethora of Sketch templates with pre-made UI elements for all operating systems and platforms: not wireframes, but high fidelity mock-up designs.