BaseTypeahead — Custom Search Bar
- from @astryx
- by Astryx
BaseTypeahead embedded inside a custom-styled wrapper. The wrapper provides its own border and icon chrome; anchorRef positions the dropdown relative to it. Use this pattern when Typeahead's built-in field layout does not fit your composition.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @astryx/showcase-base-typeahead-custom-search-barRegistry dependencies0
The CLI adds no other registry items with this one.
