- Components24
- Autocomplete
- Location Input
- Signature Input
- Signature Pad
- Credit Card
- Masked Input
- Color Picker
- Tag / Token Input
- Emoji Picker
- Transfer List
- Tree Select
- Image Upload / Dropzone
- Cron Expression Builder
- Inline Editable Field
- Sortable List Input
- Schedule / Availability Picker
- Phone Input
- Datetime Picker
- Smart Datetime Input
- File Upload
- Tags Input
- Multi Select
- Password Input
- Rating
Autocomplete
Search input with debounced suggestions and keyboard navigation.
Autocomplete
Search input with debounced suggestions and keyboard navigation.
Preview
Features
- Debounced filtering with use-debounce.
- Keyboard navigation (ArrowUp, ArrowDown, Enter, Escape).
- Accessible listbox semantics for suggestions.
Installation
npx shadcn@latest add https://www.shadcn-form.com/r/autocomplete.json
The CLI installs every dependency listed in the registry item.
Usage
import Autocomplete from '@/components/ui/autocomplete'<Autocomplete value={value} onChange={setValue} />