Switching the project UI to use the New Input System
Add your UI to the Scene as you normally would.
Select the EventSystem object in the heirachy
Now go to the Inspector
Find Standalone Input Module
Click the Replace with InputSystemUIInputModule button
The UI objects in your scene are now setup to use the new Input System.