# Storefront Search

Store search page with suggestions, highlighted matches and did you mean.

- id: `storefront-search`
- Page: https://agentic-ui-kit.com/components/storefront-search
- Live preview: https://agentic-ui-kit.com/storefront/search?piece=storefront-search

## Install

```bash
agentic-ui add storefront-search
npx shadcn@4.17.0 add @agentic-ui/storefront-search
```

## Metadata

- **Level:** page
- **Category:** page
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** autocomplete, highlighted-results, did-you-mean, popular-searches, recently-viewed, no-results-recovery, url-state
- **Intents:** navigate, explore-detail
- **Suits domains:** ecommerce, marketing
- **Interaction:** typeahead, keyboard-focus, click, history-state
- **Screen role:** overview
- **Density:** comfortable
- **Dark mode:** yes
- **Use it for:** store search page with suggestions, highlighted matches and did you mean, e-commerce search results with popular searches and recently viewed, search with a no results state that offers a correction
- **Avoid when:** global command palette for an app (use search-global-palette)
- **Preserve when adapting:** single-h1-per-page, section-order, link-integrity
- **Replace when adapting:** brand-copy, content-data, links
- **Adaptation effort:** low
- **Coupling:** medium
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** button
- **npm dependencies:** next, lucide-react, next-themes
- **Motion:** profile subtle, library css, reduced-motion fallback yes
- **Used in:** Online Store (blueprint)
- **npm dependencies (registry):** lucide-react@0.577.0
- **Registry dependencies:** commerce-cart-drawer, commerce-order-tracking, commerce-reviews-block, commerce-variant-picker, lib-primitives, search-autocomplete, search-faceted-sidebar, search-recently-viewed, search-results-highlight
