Components
Unofficial shadcn components that you asked for and we could not find better so far.
An Autocomplete component for implementing a search bar with live suggestions. This component leverages debounced state updates and simulated API calls to provide search suggestions based on user input. It includes keyboard navigation and click interaction for selecting items from the suggestion list, making it both accessible and highly interactive.
npx shadcn@latest add https://www.shadcn-form.com/registry/autocomplete.json
Once the component is installed successfully, add the following JSON files to your project. /data/
folder is recommended for better organization.
import Autocomplete from '@/components/ui/autocomplete'
<Autocompletevalue={field.value}onChange={field.onChange}/>