User Search

Search for a user...

How it works

The search functionality is implemented using a server action, which searches an array of pre-populated user data. The AsyncSelect component sends the search query to the server action, which filters the users based on a startsWith matching logic. When a user is selected from the dropdown, their details are displayed in a card component.