Local or remote
Start with an array. Switch to a data source for server-side search, sorting and pagination without changing the selection flow.
Data sources →react-lookup-select is an open-source React record picker with a searchable modal data grid. Pick one record or many, inspect the details, and commit the selection when ready.
npm i react-lookup-select| SKU | Part | Stock |
|---|---|---|
| P-0001 | Linear bearing | 7 |
| P-0002 | Drive belt | 24 |
| P-0003 | Pressure sensor | 0 |
| P-0004 | Guide rail | 58 |
4 of 8 sample records
Search by part or SKU, select records, then apply. Cancel leaves the previous value unchanged.
[]
Customers with identical names. Parts with similar SKUs. Employees across departments. Let users see the information they need before they pick.
Start with an array. Switch to a data source for server-side search, sorting and pagination without changing the selection flow.
Data sources →Draft selections stay separate from committed values. Choose typed ID/text pairs, full rows or your own projection.
Value formats →Use built-in styles or replace the trigger, dialog, grid and other parts. Keep your existing React UI stack.
Render props →Define the columns, map record identity and display text, and receive a typed value. The library handles the selection session.
Explore API reference →import { LookupSelect } from 'react-lookup-select';
import 'react-lookup-select/styles.css';
<LookupSelect
data={parts}
columns={[
{ key: 'code', title: 'SKU' },
{ key: 'name', title: 'Part' },
{ key: 'stock', title: 'Stock' },
]}
mapper={{
getId: part => part.id,
getText: part => part.name,
}}
mode="multiple"
onChange={setSelection}
/>Switch to remote data, test a failed request or scroll through 25,000 records in the playground. Inspect the actual callback payloads.
A combobox is useful for short lists and quick autocomplete. A lookup select is useful when the choice depends on several columns, a remote dataset, or a selection that must be reviewed before applying.
Compare columns and select records without leaving the form.
Record picker vs dropdown →Keep selected IDs across pages and load missing records separately.
Remote selection recipe →Use a fixed-height virtual grid to limit mounted rows, or request pages from your API.
Virtualization guide →