Autocomplete search element show suggestion based on user input e.g. listing all products which start with character ‘a’.
For implementing this in the program you need to send AJAX when a keyup event triggers on an input element.
What in the demonstration?
Show an input box for searching users and show the list of the result based on input. When the users select any of the items from the suggestion list then fetch details of the selected value and display it on the screen.