ProType
Ask to Shop
One-sentence product finder: a text input with suggestion chips.
When to use it
- Store home pages or empty search pages that want a "tell us what it's for" entry instead of filters
- Gift guides and campaign pages that hand a sentence to your search or AI and show three picks
Watch out
- onSearch is yours: call your search index or model and return up to three products; the block shows exactly what you return
- Mark one result best to preselect it; otherwise the first is picked
- Empty and failed searches show their own line and keep the suggestions, so give real suggestions that return results
Let your agent add it
One copy holds the install command, when to use it, the props and the design rules. Paste it into Claude Code, Cursor or Codex.
This is a Pro block
One license unlocks every Pro block, now and in the future.
One-time $129 with a year of updates, or $19 a month. Use it in unlimited personal and client projects; installed blocks stay yours.
Install with your license
- 1. Add the SunUI Pro registry to
components.json.components.json{ "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } - 2. Put your license key in
.env.local.$ SUNUI_LICENSE_KEY=your-license-key - 3. Install the block.
$ npx shadcn@latest add @sunui-pro/ask-to-shop
Similar blocks
- Pro
- Pro
- Pro
- Pro





