An open API service indexing awesome lists of open source software.

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.

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
```