fuzzy

Developers / Where-to-buy demo

Where-to-buy, live

This page runs the actual @fuzzylabs/where-to-buy package against the real, public Radar API. No mocked data, no staging environment. Pick a brand below — the URL follows the selection, so any brand's results are a link you can send.

Props

PropTypeDefaultWhat it does
brandstringrequiredBrand slug, e.g. "heavy-hitters".
statestring?—Two-letter region code filter.
citystring?—Retailer city filter.
sitestring?—Attribution sent as X-Fuzzy-Site — set this to your domain.
clientOptionsClientOptions?—Override baseUrl or the fetcher.
showProductPickerboolean?trueShow the product search combobox (fetches /products/top).
includeJsonLdboolean?trueInject schema.org JSON-LD for the selected product.
styleCSSProperties?—CSS variable overrides, e.g. { "--fuzzy-accent": "#0a5" }.

Source of truth: packages/where-to-buy/src/WhereToBuy.tsx's WhereToBuyProps.

See packages/where-to-buy for the source and README, the npm package to install it, or the developer docs for the full quickstart, including a worked listicle example using the same top-products data.