Search Suggest Input
A production-scale, light + dark Search Suggest Input component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add search-suggest-inputUsage
import { SearchSuggestInput } from "@lerpa/ui";
<SearchSuggestInput />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| items | SearchItem[] | — | |
| placeholder | string | — | |
| accent | string | — | |
| onSelect | (id: string) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.