Skip to content

Async Select

A generic async select for shadcn/ui, built from Popover and Command, with debounced search.

async.rdsx.dev

Async Select website screenshot
Added

About

About Async Select

Async Select is a generic select component assembled from the shadcn/ui Popover and Command parts. You pass a fetcher function that returns options for a query, plus render, value and display callbacks, and it handles the search box and results. A preload mode loads every option once and filters them locally with your own filter function.

There is no package: follow the install steps for Popover and Command, then copy the component into your project and import AsyncSelect. Props cover placeholder, width, a clearable option, a not-found message, a loading skeleton and custom class names. The demo site shows a user search with avatars. It suits forms that need to pick from API-backed lists too large to render at once.

Async Select features

6 features

  • Fetcher-based async option loading
  • Preload mode with local filtering
  • Generic TypeScript typing
  • Custom option and selected-value rendering
  • Clearable value and not-found message
  • Loading skeleton slot

What you can build with Async Select

3 use cases

  • Picking a user from a search API in an assignment form
  • Choosing a record from a long list that loads on demand
  • Filtering a small preloaded list with custom match rules

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What Async Select is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro