https://github.com/omermakesstuff/downshift-shadcn-combobox
Combobox/autocomplete component built with shadcn/ui and Downshift.
https://github.com/omermakesstuff/downshift-shadcn-combobox
autocomplete combobox component downshift react shadcn-ui
Last synced: about 1 year ago
JSON representation
Combobox/autocomplete component built with shadcn/ui and Downshift.
- Host: GitHub
- URL: https://github.com/omermakesstuff/downshift-shadcn-combobox
- Owner: OmerMakesStuff
- License: mit
- Created: 2024-06-11T09:40:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-19T11:45:39.000Z (over 1 year ago)
- Last Synced: 2025-04-07T08:15:27.377Z (about 1 year ago)
- Topics: autocomplete, combobox, component, downshift, react, shadcn-ui
- Language: TypeScript
- Homepage: https://downshift-shadcn-combobox.vercel.app
- Size: 246 KB
- Stars: 95
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Shadcn/ui + Downshift Combobox
An autocomplete input and command palette with a list of suggestions. Built with [shadcn/ui](https://ui.shadcn.com/) and [Downshift](https://www.downshift-js.com/)'s useCombobox hook.
## Install in your app
Install using the `shadcn` CLI:
```sh
pnpm dlx shadcn@latest add https://downshift-shadcn-combobox.vercel.app/r/downshift-combobox.json
```
### Usage
```tsx
No results.
```
For a more advanced example, check the [demo app code](https://github.com/TheOmer77/downshift-shadcn-combobox/blob/main/src/components/demos/combobox.tsx).
## Running the demo app
To run the development server:
```bash
pnpm dev
```