Switch out UI elements based on input type