MCPcopy Create free account
hub / github.com/OmerMakesStuff/downshift-shadcn-combobox

github.com/OmerMakesStuff/downshift-shadcn-combobox @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
11 symbols 77 edges 27 files ⚖ MIT 0 documented · 0% updated 19mo ago★ 1341 open issues

Browse by type

Functions 10 Types & classes 1
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Shadcn/ui + Downshift Combobox

An autocomplete input and command palette with a list of suggestions. Built with shadcn/ui and Downshift's useCombobox hook.

Install in your app

Install using the shadcn CLI:

pnpm dlx shadcn@latest add https://downshift-shadcn-combobox.vercel.app/r/downshift-combobox.json

Usage

<Combobox>
  <ComboboxInput placeholder='Pick an item...' />
  <ComboboxContent>
    <ComboboxItem label='One' value='one' />
    <ComboboxItem label='Two' value='two' />
    <ComboboxItem label='Three' value='three' />
    <ComboboxEmpty>No results.</ComboboxEmpty>
  </ComboboxContent>
</Combobox>

For a more advanced example, check the demo app code.

Running the demo app

To run the development server:

pnpm dev

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 10
Interface 1

Languages

TypeScript100%

Modules by API surface

src/registry/combobox/combobox.tsx2 symbols
src/registry/combobox/context.ts1 symbols
src/registry/combobox/combobox-item.tsx1 symbols
src/registry/combobox/combobox-input.tsx1 symbols
src/registry/combobox/combobox-empty.tsx1 symbols
src/registry/combobox/combobox-content.tsx1 symbols
src/lib/utils.ts1 symbols
src/components/ui/button.tsx1 symbols
src/components/demos/combobox.tsx1 symbols
src/app.tsx1 symbols

For agents

$ claude mcp add downshift-shadcn-combobox \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page